git.sr.ht/~sircmpwn/gqlgen@v0.0.0-20200522192042-c84d29a1c940/internal/imports/testdata/unused.go (about) 1 package testdata 2 3 import _ "underscore" 4 import a "fmt" 5 import "time" 6 7 type foo struct { 8 Time time.Time `json:"text"` 9 } 10 11 func fn() { 12 a.Println("hello") 13 } 14 15 type Message struct { 16 ID string `json:"id"` 17 Text string `json:"text"` 18 CreatedBy string `json:"createdBy"` 19 CreatedAt time.Time `json:"createdAt"` 20 }