github.com/maeglindeveloper/gqlgen@v0.13.1-0.20210413081235-57808b12a0a0/example/federation/reviews/graph/reviews.go (about)

     1  package graph
     2  
     3  import "github.com/99designs/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  }