util

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractID

func ExtractID(name string, collection string) uint

ExtractID from resource name.

func ExtractIDs

func ExtractIDs(names []string, collection string) []interface{}

ExtractIDs from resource names.

func InterfaceSlice

func InterfaceSlice(dataSlice interface{}) []interface{}

InterfaceSlice converts any data slice to interface slice.

func ToSnakeSlice added in v0.3.1

func ToSnakeSlice(s []string) []string

ToSnakeSlice converts string slice to lowercase.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL