MCPcopy Create free account
hub / github.com/diillson/chatcli / LogStartupInfo

Function LogStartupInfo

utils/utils.go:134–143  ·  view source on GitHub ↗
(logger *zap.Logger)

Source from the content-addressed store, hash-verified

132}
133
134func LogStartupInfo(logger *zap.Logger) {
135 logger.Info("ChatCLI iniciado",
136 zap.String("version", version.Version),
137 zap.String("commit", version.CommitHash),
138 zap.String("buildDate", version.BuildDate),
139 zap.String("goVersion", runtime.Version()),
140 zap.String("os", runtime.GOOS),
141 zap.String("arch", runtime.GOARCH),
142 )
143}
144
145// ParseSize converte uma string de tamanho legível (como "50MB") para bytes.
146func ParseSize(sizeStr string) (int64, error) {

Callers 1

mainFunction · 0.92

Calls 3

InfoMethod · 0.65
VersionMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected