MCPcopy Index your code
hub / github.com/google/go-github / addIdent

Method addIdent

github/gen-accessors.go:347–350  ·  view source on GitHub ↗
(x *ast.Ident, receiverType, fieldName string)

Source from the content-addressed store, hash-verified

345}
346
347func (t *templateData) addIdent(x *ast.Ident, receiverType, fieldName string) {
348 getter := genIdentGetter(x, receiverType, fieldName)
349 t.Getters = append(t.Getters, getter)
350}
351
352func zeroValueOfIdent(x *ast.Ident) string {
353 switch x.String() {

Callers 1

processASTMethod · 0.95

Calls 1

genIdentGetterFunction · 0.85

Tested by

no test coverage detected