Registry / orm / datatypes

datatypes

JSON →
library1.2.7gogounverified

Provides custom data types for GORM, including JSON, array, and enum support.

go get gorm.io/datatypes
INSTALL
IMPORT
SIG · DATATYPES
D
datatypes
ormgov1.2.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

datatypes
✓ gorm.io/datatypes

Define a model with JSON data type

package main import ( "gorm.io/datatypes" "gorm.io/gorm" ) type User struct { gorm.Model Name string Roles datatypes.JSON } func main() {}
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
32
Resources
datatypes — go get datatypes · libregistry