util

package
v1.3.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackages

func GetPackages(dir string) (map[string]*ast.Package, error)

func GetTagName added in v1.2.2

func GetTagName(tag string) string

func GoFmt added in v0.1.9

func GoFmt(path string)

func MapToAssciiSortJson

func MapToAssciiSortJson(m map[string]interface{}) string

func MapToSplice

func MapToSplice[T comparable, V any](m map[T]V) []T

func PrintJson

func PrintJson(js interface{})

func ToJsonString

func ToJsonString(js interface{}) string

Types

type Empty

type Empty struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL