customtypes

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package customtypes is a custom type definition for ent and the associated interfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONObject

type JSONObject map[string]interface{}

JSONObject is a custom type for JSON object templates

func (JSONObject) MarshalGQL

func (j JSONObject) MarshalGQL(w io.Writer)

MarshalGQL implement the Marshaler interface for gqlgen

func (*JSONObject) UnmarshalGQL

func (j *JSONObject) UnmarshalGQL(v interface{}) error

UnmarshalGQL implement the Unmarshaler interface for gqlgen

type Uint8 added in v0.4.4

type Uint8 uint8

Uint8 is a custom type for uint8

func (Uint8) MarshalGQL added in v0.4.4

func (u Uint8) MarshalGQL(w io.Writer)

MarshalGQL implements the graphql.Marshaler interface

func (*Uint8) UnmarshalGQL added in v0.4.4

func (u *Uint8) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements the graphql.Unmarshaler interface

Jump to

Keyboard shortcuts

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