The Daily Go
338 subscribers
53 photos
2 videos
3 files
657 links
We provide you daily Golang contents. If you want to post any content contact with us.
.
Administrators:
👉🏻@aidenzibaei
👉🏻@amin_khozaei

#jaryan904259
Download Telegram
The Daily Go:
Translates JSON into a Go type in your browser instantly - https://mholt.github.io/json-to-go/

https://github.com/mholt/json-to-go

#Javascript #JSON
The Daily Go
JSON is very easy with :

https://github.com/tidwall/gjson


package main

import "github.com/tidwall/gjson"

const json =
{"name":{"first":"Janet","last":"Prichard"},"age":47}

func main() {
value := gjson.Get(json, "name.last")
println(value.String())
}


#Repository #JSON
The Daily Go
MCONFIG is a lightweight Golang library for integrating configs files like (json, yml, toml) and environment variables into one config struct.

https://github.com/jmartin82/mconfig

#config #env #json #yaml