{"modulePath":"github.com/devdraftengineer/devdraft-go","version":"v0.0.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package shims\n\nThis package provides shims over Go 1.2{2,3} APIs which are missing from Go 1.22, and used by the Go 1.24 encoding/json package.\n\nInside the vendored package, all shim code has comments that begin look like // SHIM(...): ...\n\n## Constants\n\n```go\nconst EscapeHTMLByDefault = true\n```\n\n## Functions\n\n```go\nfunc TypeFor[T any]() reflect.Type\n```\nTypeFor returns the \\[Type] that represents the type argument T.\n\n## Types\n\n```go\ntype AppendableStdEncoding struct{ *base64.Encoding }\n```\n\n```go\nfunc (enc AppendableStdEncoding) AppendEncode(dst, src []byte) []byte\n```\nAppendEncode appends the base64 encoded src to dst and returns the extended buffer.\n\n```go\ntype OverflowableType struct{ reflect.Type }\n```\n\n```go\nfunc (t OverflowableType) OverflowInt(x int64) bool\n```\n\n```go\nfunc (t OverflowableType) OverflowUint(x uint64) bool\n```\n\n","path":"github.com/devdraftengineer/devdraft-go/internal/encoding/json/shims","name":"shims","synopsis":"This package provides shims over Go 1.2{2,3} APIs which are missing from Go 1.22, and used by the Go 1.24 encoding/json package.","isRedistributable":true}
