Discover Packages
github.com/elastic/cloud-sdk-go
pkg
util
ec
package
Version:
v1.0.0-beta1
Opens a new window with list of versions in this module.
Published: Feb 5, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 42
Opens a new window with list of known importers.
Documentation
Documentation
¶
Bool creates a new bool pointer from a boolean
func CompareStructs(a, b interface{}) (equals bool , diff string , err error )
CompareStructs two structs and return the differences
Int32 creates a new int32 pointer from an int32
Int64 creates a new int64 pointer from an int64
String creates a new string pointer from a string
type Validator interface {
Validate() error
}
Validator interface is mostly used for parameter structures that
need to check a set of conditions and act as a gate before running
expensive external calls
Source Files
¶
Click to show internal directories.
Click to hide internal directories.