Documentation ¶
Index ¶
- func Add(args ...int) int
- func CamelToSnake(s string) string
- func Concat(args ...string) string
- func GetStatusCodeFromComment(comment string) (int32, error)
- func IsFileExist(name string) bool
- func MatchString(b []byte, expr string) bool
- func OpenFile(fPath string) (*os.File, error)
- func SnakeToCamel(s string) string
- func ToInt(v interface{}) int
- func ToLowerFirst(s string) string
- func ToUpperFirst(s string) string
- type SvcAssign
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
func IsFileExist ¶
func MatchString ¶
func SnakeToCamel ¶
func ToLowerFirst ¶
func ToUpperFirst ¶
Types ¶
type SvcAssign ¶
type SvcAssign struct { DbDSN string SvcName string SvcGroup string PortInterval int ErrcodeInterval int PortInitMap map[string]interface{} ErrcodeInitMap map[string]interface{} // contains filtered or unexported fields }
func NewSvcAssign ¶
func (*SvcAssign) GetOrAssignPortAndErrcode ¶
Click to show internal directories.
Click to hide internal directories.