Every line of 'golang code' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Go code is secure.
246 func Code(stk *Stack, code interface{}) { 247 248 stk.Push(code) 249 }
281 func (e ErrConstraintFailed) Code() (string, []interface{}) { 282 return strconv.Quote(e.prefix() + e.msg), nil 283 }
138 func (b *DatabaseGetCountriesBuilder) Code(v string) *DatabaseGetCountriesBuilder { 139 b.Params["code"] = v 140 return b 141 }
22 func (b *Builder) Code(c ErrCode) *Builder { 23 b.code = c 24 b.codeSet = true 25 return b 26 }
76 func (m *CallCodeParam) GetCode() []byte { 77 if m != nil { 78 return m.Code 79 } 80 return nil 81 }
214 func (m *Program) GetCode() []byte { 215 if m != nil { 216 return m.Code 217 } 218 return nil 219 }
899 func (x *VerifyNotificationChannelRequest) GetCode() string { 900 if x != nil { 901 return x.Code 902 } 903 return "" 904 }
202 func (x *Code) GetCode() string { 203 if x != nil { 204 return x.Code 205 } 206 return "" 207 }
546 func (this crossreferenceexpr) Codes() string { 547 return fmt.Sprintf(`CrossValue(o.%s.GetVarValue("%s"), o.%s)`, 548 getRefFormulaVarName(this.formulaName, this.code, this.period), 549 strings.ToUpper(this.refVarName), 550 getIndexMapVarName(this.code, this.period)) 551 }
887 func (m *OperationIssueAsset) GetCode() string { 888 if m != nil { 889 return m.Code 890 } 891 return "" 892 }