...

Source file src/github.com/99designs/gqlgen/codegen/config/testdata/autobinding/chat/model.go

Documentation: github.com/99designs/gqlgen/codegen/config/testdata/autobinding/chat

     1  package chat
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  type Message struct {
     8  	ID        string    `json:"id"`
     9  	Text      string    `json:"text"`
    10  	CreatedBy string    `json:"createdBy"`
    11  	CreatedAt time.Time `json:"createdAt"`
    12  }
    13  
    14  type ProductSku string
    15  
    16  const (
    17  	ProductSkuTrial ProductSku = "Trial"
    18  )
    19  
    20  type ChatAPI struct {
    21  	ID string `json:"id"`
    22  }
    23  

View as plain text