package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Dec 30, 2019
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ExtractID from resource name.
func ExtractIDs(names []string, collection string) []interface{}
ExtractIDs from resource names.
func InterfaceSlice(dataSlice interface{}) []interface{}
InterfaceSlice converts any data slice to interface slice.
ToSnakeSlice converts string slice to lowercase.
func Update(a interface{}, b interface{}, paths []string)
Update a from b by paths.
Paths implements the some util functions of the update mask.
Append the fields to the paths.
Has indicates whether the path is included in the update mask.
Permit the fields in paths and returns a new paths.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.