Documentation
¶
Index ¶
- func CamelToSnake(camel string) string
- func Capitalize(s string) string
- func GenerateInto(dir string, headerFunc func(string) string, ...)
- func HasUpperCase(s string) bool
- func HttpGetDocument(url string) *goquery.Document
- func IsDir(dir string, filename string) bool
- func IsFile(dir string, filename string) bool
- func Logger() *otelzap.SugaredLogger
- func MustParseTemplate(fs embed.FS, filename string) *template.Template
- func MustReadFile(fs embed.FS, filename string) string
- func RunCommandContainsCtx(ctx context.Context, contains string, command string, args ...string) bool
- func RunCommandCtx(ctx context.Context, command string, args ...string) (string, error)
- func RunCommandCtxWithOutput(ctx context.Context, command string, args ...string) (string, error)
- func SetGlobalLogger() func()
- func SnakeToCamel(snake string, capitalize bool) string
- func WriteTmpFile(prefix, extension, content string) (string, error)
- type Errors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
func Capitalize ¶
func GenerateInto ¶
func HasUpperCase ¶
func HttpGetDocument ¶
func Logger ¶
func Logger() *otelzap.SugaredLogger
func RunCommandContainsCtx ¶
func RunCommandCtx ¶
func RunCommandCtxWithOutput ¶
func SetGlobalLogger ¶
func SetGlobalLogger() func()
func SnakeToCamel ¶
func WriteTmpFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.