...

Source file src/github.com/99designs/gqlgen/codegen/complexity.go

Documentation: github.com/99designs/gqlgen/codegen

     1  package codegen
     2  
     3  func (o *Object) UniqueFields() map[string][]*Field {
     4  	m := map[string][]*Field{}
     5  
     6  	for _, f := range o.Fields {
     7  		m[f.GoFieldName] = append(m[f.GoFieldName], f)
     8  	}
     9  
    10  	return m
    11  }
    12  

View as plain text