{"modulePath":"github.com/docker/compose-cli","version":"v1.0.35","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package utils\n\n## Functions\n\n```go\nfunc CheckUnsupported(ctx context.Context, errs error, toCheck, expectedValue interface{}, commandName, msg string) error\n```\nCheckUnsupported checks if a flag was used when it shouldn't and adds an error in case\n\n```go\nfunc FilteredLogConsumer(consumer api.LogConsumer, services []string) api.LogConsumer\n```\nFilteredLogConsumer filters logs for given services\n\n```go\nfunc ShowDeprecationWarning(w io.Writer)\n```\n\n## Types\n\n```go\ntype MemBytes int64\n```\nMemBytes is a type for human readable memory bytes (like 128M, 2g, etc)\n\n```go\nfunc (m *MemBytes) Set(value string) error\n```\nSet sets the value of the MemBytes by passing a string\n\n```go\nfunc (m *MemBytes) String() string\n```\nString returns the string format of the human readable memory bytes\n\n```go\nfunc (m *MemBytes) Type() string\n```\nType returns the type\n\n```go\nfunc (m *MemBytes) Value() int64\n```\nValue returns the value in int64\n\n","path":"github.com/docker/compose-cli/utils","name":"utils","synopsis":"","isRedistributable":true}
