github.com/humans-group/gqlgen@v0.7.2/internal/imports/testdata/unused.go (about)

     1  package testdata
     2  
     3  import "unused"
     4  import _ "underscore"
     5  import a "fmt"
     6  import "time"
     7  
     8  type foo struct {
     9  	Time time.Time `json:"text"`
    10  }
    11  
    12  func fn() {
    13  	a.Println("hello")
    14  }
    15  
    16  type Message struct {
    17  	ID string `json:"id"`
    18  	Text string `json:"text"`
    19  	CreatedBy string `json:"createdBy"`
    20  	CreatedAt time.Time `json:"createdAt"`
    21  }