Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

tyranron/golang-sizeof.tips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang sizeof tips

Moved from gophergala/golang-sizeof.tips

THE PROJECT IS CLOSED. THANKS ANYONE WHO USED IT!

Consider alternatives:

Web tool for interactive playing with Golang struct sizes.

Try online version here.

Aim

Provide comfortable tool to see how fields in struct are aligned, to compare different structs and as the result - to understand and remember alignment rules.

Installing

To install correct versions of dependencies Goop dependency manager should be used.

go get github.com/gophergala/golang-sizeof.tips
cd github.com/gophergala/golang-sizeof.tips
goop install
goop go build -o ./server

You may also install via simple go get by your own risk.

Usage

./server -http=:7777 start
./server stop
./server restart

Platform support

Tested on Linux and OS X x64 platforms, but should work properly and on other *nix-like platforms. Windows is not supported due to daemonization.

License

Apache License 2.0

About

[CLOSED] Web tool for interactive playing with Golang struct sizes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published