package
3.1.1+incompatible
Repository: https://github.com/tencent/bk-cmdb.git
Documentation: pkg.go.dev

# Functions

AddCommonFlags add common flags that is needed by all modules.
No description provided by the author
No description provided by the author
No description provided by the author
字符串输入长度.
Contains if string target in array.
ContainsInt if int target in array.
ContainsInt64 if int64 target in array.
No description provided by the author
No description provided by the author
CopyHeader copy http header.
No description provided by the author
No description provided by the author
FirstNotEmptyString return the first string in slice strs that is not empty.
GetActionLanguage returns language form hender.
GetActionLanguageByHTTPHeader return language from http header.
GetActionOnwerID returns owner_uin form hender.
GetActionOnwerIDAndUser returns owner_uin and user form hender.
GetActionOnwerIDByHTTPHeader return owner from http header.
GetActionUser returns user form hender.
No description provided by the author
GetDailAddress returns the address for net.Dail.
GetHTTPCCRequestID return configcenter request id from http header.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetStrValsFromArrMapInterfaceByKey get []string from []map[string]interface{}, Do not consider errors.
No description provided by the author
No description provided by the author
InitFlags normalizes and parses the command line flags.
No description provided by the author
IntArrayUnique get unique int array.
No description provided by the author
IsAssocateProperty is Assocate property.
是否大、小写字母组合.
是否日期.
IsInnerObject is inner object model.
是否字母、数字组合.
IsStrProperty is string property.
是否时间.
是否时区.
MapMatch return whether src is partial match to tar, means src is smaller than tar.
No description provided by the author
No description provided by the author
NewParseInterface return a struct.
No description provided by the author
SetModOwner set condition equal owner id, the condition must be a map or struct.
SetQueryOwner returns condition that in default ownerid and request ownerid.
SliceStrToInt: 将字符串切片转换为整型切片.
SliceStrToInt64 将字符串切片转换为整型切片.
str2time.
StrArrayUnique get unique string array.
No description provided by the author
ValidPropertyOption valid property field option.
WarnWordSepNormalizeFunc changes and warns for flags that contain "_" separators.
WordSepNormalizeFunc changes all flags that contain "_" separators.

# Structs

No description provided by the author
ParseInterface parse interface use struct.

# Type aliases

No description provided by the author