package anynil
Import Path
github.com/jackc/pgx/v5/internal/anynil (on go.dev)
Dependency Relation
imports one package, and imported by 2 packages
Involved Source Files
anynil.go
Package-Level Functions (total 3)
Is returns true if value is any type of nil. e.g. nil or []byte(nil).
Normalize converts typed nils (e.g. []byte(nil)) into untyped nil. Other values are returned unmodified.
NormalizeSlice converts all typed nils (e.g. []byte(nil)) in s into untyped nils. Other values are unmodified. s is
mutated in place.
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |