schematype

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 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

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