github.com/octohelm/storage@v0.0.0-20240516030302-1ac2cc1ea347/pkg/dberr/zz_generated.runtimedoc.go (about) 1 /* 2 Package dberr GENERATED BY gengo:runtimedoc 3 DON'T EDIT THIS FILE 4 */ 5 package dberr 6 7 // nolint:deadcode,unused 8 func runtimeDoc(v any, names ...string) ([]string, bool) { 9 if c, ok := v.(interface { 10 RuntimeDoc(names ...string) ([]string, bool) 11 }); ok { 12 return c.RuntimeDoc(names...) 13 } 14 return nil, false 15 } 16 17 func (v SqlError) RuntimeDoc(names ...string) ([]string, bool) { 18 if len(names) > 0 { 19 switch names[0] { 20 case "Type": 21 return []string{}, true 22 case "Msg": 23 return []string{}, true 24 25 } 26 27 return nil, false 28 } 29 return []string{}, true 30 }