proxy.golang.org : github.com/skeptycal/size
Package size implements interface to size Package size implements run-time calculation of size of the variable. Source code is based on "binary.Size()" function from Go standard library. size.Of() omits size of slices, arrays and maps containers itself (24, 24 and 8 bytes). When counting maps separate calculations are done for keys and values. Adapted from: https://github.com/DmitriyVTitov/size (MIT License)
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/skeptycal/size
License: MIT
Latest release: about 1 month ago
Namespace: github.com/skeptycal
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago