type github.com/oapi-codegen/runtime/types.Date
18 uses
github.com/oapi-codegen/runtime/types (current package)
date.go#L10: type Date struct {
date.go#L14: func (d Date) MarshalJSON() ([]byte, error) {
date.go#L18: func (d *Date) UnmarshalJSON(data []byte) error {
date.go#L32: func (d Date) String() string {
date.go#L36: func (d *Date) UnmarshalText(data []byte) error {
github.com/oapi-codegen/runtime
bindparam.go#L551: if t.ConvertibleTo(reflect.TypeOf(types.Date{})) {
bindstring.go#L141: if t.ConvertibleTo(reflect.TypeOf(types.Date{})) {
bindstring.go#L150: parsedDate := types.Date{Time: parsedTime}
bindstring.go#L154: if t != reflect.TypeOf(types.Date{}) {
bindstring.go#L156: vtPtr := vPtr.Convert(reflect.TypeOf(&types.Date{}))
deepobject.go#L236: if it.ConvertibleTo(reflect.TypeOf(types.Date{})) {
deepobject.go#L237: var date types.Date
deepobject.go#L244: if it != reflect.TypeOf(types.Date{}) {
deepobject.go#L247: aPtr := ivPtr.Convert(reflect.TypeOf(&types.Date{}))
styleparam.go#L75: convertableToDate := t.ConvertibleTo(reflect.TypeOf(types.Date{}))
styleparam.go#L197: if t.ConvertibleTo(reflect.TypeOf(types.Date{})) {
styleparam.go#L198: d := v.Convert(reflect.TypeOf(types.Date{}))
styleparam.go#L199: dateVal := d.Interface().(types.Date)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |