utils

package
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SerializableArray added in v0.1.11

type SerializableArray[T any] []T

Wrapper for adding JSON array to MySQL or SQLite database Make sure to add `gorm:"serializer:json"` as tag on the field using this

func (*SerializableArray[T]) Scan added in v0.1.11

func (j *SerializableArray[T]) Scan(value interface{}) error

func (*SerializableArray[T]) Value added in v0.1.11

func (j *SerializableArray[T]) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL