8 func main() { // function
12 var myvar int // variable
14 type myType string // basic type
16 type myDecoder json.Decoder // to use the encoding/json import
18 func (m *myType) Blahblah() {} // method
20 type myStruct struct { // struct type
21 myStructField int // struct field
24 type myInterface interface { // interface
25 DoSomeCoolStuff() string // interface method
34 nestedStruct2 struct {
39 nestedInterface interface {
45 func Dunk() int { return 0 }