How to print struct variables in console?
To print the name of the fields in a struct: fmt.Printf(“%+v\n”, yourProject) From the fmt package: when printing structs, the plus flag (%+v) adds field names That supposes you have an instance of Project (in ‘yourProject‘) The article JSON and Go will give more details on how to retrieve the values from a JSON struct. … Read more