MCPcopy Create free account
hub / github.com/labstack/gommon / New

Function New

bytes/bytes.go:43–45  ·  view source on GitHub ↗

New creates a Bytes instance.

()

Source from the content-addressed store, hash-verified

41
42// New creates a Bytes instance.
43func New() *Bytes {
44 return &Bytes{}
45}
46
47// Format formats bytes integer to human readable string according to IEC 60027.
48// For example, 31323 bytes will return 30.59KB.

Callers 1

bytes.goFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected