datatypes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayDataType

type ArrayDataType struct {
	Type  ComplexType `json:"type"`
	Items ItemsType   `json:"items"`
}

type ComplexType

type ComplexType string
const ArrayType ComplexType = "array"

type ItemsType

type ItemsType struct {
	Type   SimpleType `json:"type"`
	Format string     `json:"format,omitempty"`
	Unit   string     `json:"unit,omitempty"`
}

type SimpleType

type SimpleType string
const BooleanType SimpleType = "Boolean"
const DateType SimpleType = "Date"
const DoubleType SimpleType = "Double"
const LongType SimpleType = "Long"
const StringType SimpleType = "String"

Jump to

Keyboard shortcuts

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