Categorygithub.com/brokeyourbike/jsonarray
modulepackage
0.2.0
Repository: https://github.com/brokeyourbike/jsonarray.git
Documentation: pkg.go.dev

# README

jsonarray

Go Reference Go Report Card Maintainability codecov

GORM JSON Array Types

Installation

go get github.com/brokeyourbike/jsonarray

Usage

package main

import (
    "github.com/brokeyourbike/jsonarray"
    "gorm.io/gorm"
)

type User struct {
    gorm.Model
    Tags jsonarray.Slice[string]
}

Authors

Thanks

License

MIT License

# Type aliases

Slice defined JSON data type, need to implements driver.Valuer, sql.Scanner interface.