git.sr.ht/~sircmpwn/gqlgen@v0.0.0-20200522192042-c84d29a1c940/example/federation/reviews/graph/reviews.go (about)

     1  package graph
     2  
     3  import "git.sr.ht/~sircmpwn/gqlgen/example/federation/reviews/graph/model"
     4  
     5  var reviews = []*model.Review{
     6  	{
     7  		Body:    "A highly effective form of birth control.",
     8  		Product: &model.Product{Upc: "top-1"},
     9  		Author:  &model.User{ID: "1234"},
    10  	},
    11  	{
    12  		Body:    "Fedoras are one of the most fashionable hats around and can look great with a variety of outfits.",
    13  		Product: &model.Product{Upc: "top-1"},
    14  		Author:  &model.User{ID: "1234"},
    15  	},
    16  	{
    17  		Body:    "This is the last straw. Hat you will wear. 11/10",
    18  		Product: &model.Product{Upc: "top-1"},
    19  		Author:  &model.User{ID: "7777"},
    20  	},
    21  }