MCPcopy Create free account
hub / github.com/nsf/gocode / list

Method list

config.go:117–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115}
116
117func (this *config) list() string {
118 str, typ := this.value_and_type()
119 buf := bytes.NewBuffer(make([]byte, 0, 256))
120 for i := 0; i < str.NumField(); i++ {
121 v := str.Field(i)
122 name := typ.Field(i).Tag.Get("json")
123 list_value(v, name, buf)
124 }
125 return buf.String()
126}
127
128func (this *config) list_option(name string) string {
129 str, typ := this.value_and_type()

Callers 1

server_setFunction · 0.80

Calls 3

value_and_typeMethod · 0.95
list_valueFunction · 0.85
StringMethod · 0.80

Tested by

no test coverage detected