golang-sizeof.tips
golang-sizeof.tips copied to clipboard
[CLOSED] Web tool for interactive playing with Golang struct sizes.
What I tried ? http://golang-sizeof.tips/?t=c3RydWN0IHsKCU1vZGUgaW50MTYKCVgsIFkgZmxvYXQzMgoJQWN0aXZlIGJvb2wKfQ== What I expected ? the same results that http://golang-sizeof.tips/?t=c3RydWN0IHsKCU1vZGUgaW50MTYKCVggZmxvYXQzMgoJWSBmbG9hdDMyCglBY3RpdmUgYm9vbAp9 gives
http://golang-sizeof.tips/?t=Ly8gU2FtcGxlIGNvZGUKc3RydWN0IHsKCQlmbGFnICAgIGJvb2wKCQljb3VudGVyIGludDE2CgkJcGkgICAgICBmbG9hdDMyCgl9 The padding should show to be between the first and second fields. ``` struct { flag bool counter int16 pi float32 } ``` https://github.com/ardanlabs/gotraining/blob/master/topics/struct_types/advanced/example1/example1.go
Add support for large structs by changing the request to a POST. Also: * Update to use go modules. * Switch log4go to an available one. * Correct moved imports....
Hi There was an error in the 'go get'. ``` go get github.com/gophergala/golang-sizeof.tips package code.google.com/p/log4go: unrecognized import path "code.google.com/p/log4go" (parse https://code.google.com/p/log4go?go-get=1: no go-import meta tags ()) ``` I solved it...