github.com/operandinc/gqlgen@v0.16.1/codegen/testserver/followschema/v-ok.go (about)

     1  package followschema
     2  
     3  // VOkCaseValue model
     4  type VOkCaseValue struct{}
     5  
     6  func (v VOkCaseValue) Value() (string, bool) {
     7  	return "hi", true
     8  }
     9  
    10  // VOkCaseNil model
    11  type VOkCaseNil struct{}
    12  
    13  func (v VOkCaseNil) Value() (string, bool) {
    14  	return "", false
    15  }