Add Go transcript and glossary schemas

This commit is contained in:
2026-05-10 23:52:36 +00:00
parent ea8def423e
commit 950edc01f2
20 changed files with 898 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package schema
import "fmt"
type ParseError struct {
Message string
}
func (e *ParseError) Error() string {
return e.Message
}
type ValidationError struct {
Field string
Message string
}
func (e *ValidationError) Error() string {
if e.Field != "" {
return fmt.Sprintf("%s: %s", e.Field, e.Message)
}
return e.Message
}