Documentation ¶
Index ¶
- func GetPackages(dir string) (map[string]*ast.Package, error)
- func GetTagName(tag string) string
- func GoFmt(path string)
- func MapToAssciiSortJson(m map[string]interface{}) string
- func MapToSplice[T comparable, V any](m map[T]V) []T
- func PrintJson(js interface{})
- func ToJsonString(js interface{}) string
- type Empty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTagName ¶
func MapToAssciiSortJson ¶
func MapToSplice ¶
func MapToSplice[T comparable, V any](m map[T]V) []T
func ToJsonString ¶
func ToJsonString(js interface{}) string
Types ¶
Click to show internal directories.
Click to hide internal directories.