mirror of
https://github.com/hanzokv/go.git
synced 2026-09-24 00:31:51 +00:00
* run go fix ./... Signed-off-by: Tiago Peczenyj <[email protected]> * run make fmt Signed-off-by: Tiago Peczenyj <[email protected]> * fix go vet ./... issues * Update README.md Reorder imports with the rules defined in the Makefile as if we run `make fmt` * run gofumpt -w . * update Makefile to use gofumpt instead gofmt * increment makefile * format test * format tests Signed-off-by: Tiago Peczenyj <[email protected]> --------- Signed-off-by: Tiago Peczenyj <[email protected]> Co-authored-by: ofekshenawa <[email protected]>
12 lines
153 B
Go
12 lines
153 B
Go
//go:build appengine
|
|
|
|
package util
|
|
|
|
func BytesToString(b []byte) string {
|
|
return string(b)
|
|
}
|
|
|
|
func StringToBytes(s string) []byte {
|
|
return []byte(s)
|
|
}
|