June 2017
Intermediate to advanced
400 pages
10h 32m
English
These steps cover writing and running your application:
package nulls import ( "encoding/json" "fmt" ) // json that has name but not age const ( jsonBlob = `{"name": "Aaron"}` fulljsonBlob = `{"name":"Aaron", "age":0}` ) // Example is a basic struct with age // and name fields type Example struct { Age int `json:"age,omitempty"` Name string `json:"name"` } // BaseEncoding shows encoding and // decoding with normal types func BaseEncoding() ...