github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/examples/external-types/go-ext/my_type.go (about) 1 package ext 2 3 import ( 4 "context" 5 6 "github.com/go-openapi/strfmt" 7 ) 8 9 type MyExtType struct{} 10 11 func (MyExtType) Validate(strfmt.Registry) error { return nil } 12 func (MyExtType) ContextValidate(context.Context, strfmt.Registry) error { return nil }