MCPcopy Index your code
hub / github.com/github/copilot-sdk / Int

Function Int

go/types.go:212–214  ·  view source on GitHub ↗

Int returns a pointer to the given int value. Use for setting optional int parameters: MinLength: Int(1)

(v int)

Source from the content-addressed store, hash-verified

210// Int returns a pointer to the given int value.
211// Use for setting optional int parameters: MinLength: Int(1)
212func Int(v int) *int {
213 return &v
214}
215
216// Known system message section identifiers for the "customize" mode.
217const (

Calls

no outgoing calls