Versions in this module Expand all Collapse all v1 v1.3.0 Jan 11, 2023 Changes in this version + func SnakeToCamelCase(name string) string v1.2.0 Feb 25, 2022 Changes in this version + const DefaultName + func CamelCase(name string) string + func Lower(name string) string + func Pascal(name string) string + func ReflectByValue(router interface{}) reflect.Value + func RemovePtr(t reflect.Type) reflect.Type + func ReplaceSepByFS(path string) string + func StringToAny(str string, t reflect.Type) (r reflect.Value, err error) + func Title(name string) string + func Underline(name string) string + func Upper(name string) string + type GoFileScanner struct + func NewGoFileScanner(fs *embed.FS) *GoFileScanner + func (s *GoFileScanner) GetFilePathByReflect(t reflect.Type) string + func (s *GoFileScanner) GetMethods(name string) []Method + func (s *GoFileScanner) ParseFile(filename string) error + type Method struct + Comments []string + MethodName string + Params []string + StructName string + type NameTo struct + Name string + func NewNameTo(name string) *NameTo + func (n *NameTo) CamelCase() string + func (n *NameTo) Lower() string + func (n *NameTo) Pascal() string + func (n *NameTo) Title() string + func (n *NameTo) Underline() string + func (n *NameTo) Upper() string