Documentation ¶
Index ¶
- Constants
- func AssertEqual(src, dst interface{}) bool
- func CheckTruth(vals ...string) bool
- func Contains(elems []string, elem string) bool
- func FileWithLineNum() string
- func IsValidDBNameChar(c rune) bool
- func ToArray(v interface{}) (r []interface{})
- func ToBson(i interface{}) (bson.M, error)
- func ToString(value interface{}) string
- func ToStringKey(values ...interface{}) string
- func ValueOf(i interface{}) reflect.Value
Constants ¶
View Source
const ( MongoPrimaryName = "_id" QueryOperationPrefix = "$" )
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
func AssertEqual(src, dst interface{}) bool
func FileWithLineNum ¶
func FileWithLineNum() string
FileWithLineNum return the file name and line number of the current file
func IsValidDBNameChar ¶
func ToStringKey ¶
func ToStringKey(values ...interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.