schematype

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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)

type CategoryTypes added in v0.5.0

type CategoryTypes struct {
	Public bool `json:"public,omitempty"`
}

CategoryTypes is a simple JSON type.

Jump to

Keyboard shortcuts

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