types

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CS_TYPE_MAP = map[string]string{
	"string":   "string",
	"boolean":  "bool",
	"date":     "DateTime",
	"dateTime": "DateTime",
	"double":   "double",
}
View Source
var JAVA_TYPE_MAP = map[string]string{
	"string":   "String",
	"boolean":  "boolean",
	"date":     "Date",
	"dateTime": "Date",
	"double":   "double",
}

Functions

func GetCSType

func GetCSType(t string) string

func GetJavaType

func GetJavaType(t string) string

Types

type Action

type Action struct {
	Name      string
	Package   string
	Namespace string
	Classes   []string
}

type Attribute

type Attribute struct {
	Name     string
	Type     string
	List     bool
	Optional bool
	Writable bool
}

type Class

type Class struct {
	Name             string
	Abstract         bool
	Extends          string
	Package          string
	Imports          []string
	Namespace        string
	Using            []string
	DocumentationUrl string
	Attributes       []Attribute
	Relations        []string
	Identifiable     bool
	Writable         bool
	Identifiers      []Identifier
}

type Identifier

type Identifier struct {
	Name     string
	Optional bool
}

type Import

type Import struct {
	Java   string
	CSharp string
}

type Model added in v1.1.0

type Model struct {
	Name    string
	Package string
}

Jump to

Keyboard shortcuts

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