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

Struct TestStruct

internal/serialization/gin_binding_test.go:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type TestStruct struct {
14 Value string `json:"value"`
15 Value2 int `json:"value2"`
16}
17
18func (t *TestStruct) Validate() error {
19 if t.Value == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected