internal

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(origin string) string

func BuildDir

func BuildDir(absDir string) error

func FileIsExist

func FileIsExist(filename string) bool

func GetComment

func GetComment(cg *ast.CommentGroup) string

func GetComments

func GetComments(cg *ast.CommentGroup) []string

func GetDocs

func GetDocs(cg *ast.CommentGroup) []string

func GetKey

func GetKey(pkg string, name string) string

func GetKeyHash

func GetKeyHash(pkg string, name string) string

func IsInternalType

func IsInternalType(t string) bool

IsInternalType 是否是内部类型

func IsPrivate

func IsPrivate(s string) bool

func Md5

func Md5(origin string) string

func ReadFile

func ReadFile(fname string) []byte

func WriteFile

func WriteFile(fname string, src []byte, isClear bool) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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