github.com/99designs/gqlgen@v0.17.45/internal/imports/testdata/unused.expected.go (about)

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