schematype

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package schematype provides custom types for ent/schema.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryConfig

type CategoryConfig struct {
	MaxMembers int `json:"maxMembers,omitempty"`
}

CategoryConfig implements the field.ValueScanner interface.

func (*CategoryConfig) Scan

func (t *CategoryConfig) Scan(v interface{}) (err error)

func (*CategoryConfig) Value

func (t *CategoryConfig) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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