You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 21, 2026. It is now read-only.
For types used in options, and eventually in PATCH calls (#17), oag should generated functions that return a pointer of the supplied value, if required.
For example, if an options struct has a *string type as a field, oag should generate a function like:
// String returns a pointer to the supplied string valuefuncString(vstring) *string { return&v}
This way, users of the generated API can easily get pointers to literal values.
For types used in options, and eventually in PATCH calls (#17),
oagshould generated functions that return a pointer of the supplied value, if required.For example, if an options struct has a
*stringtype as a field,oagshould generate a function like:This way, users of the generated API can easily get pointers to literal values.