github.com/animeshon/gqlgen@v0.13.1-0.20210304133704-3a770431bb6d/internal/imports/testdata/unused.expected.go (about)

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