MCPcopy
hub / github.com/yusing/godoxy / CustomValidatingStruct

Struct CustomValidatingStruct

internal/serialization/validation_struct_test.go:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type CustomValidatingStruct struct {
10 Value string
11}
12
13func (c CustomValidatingStruct) Validate() error {
14 if c.Value == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected