types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2017 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
}

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
}

type Import

type Import struct {
	Java   string
	CSharp string
}

type Model added in v1.1.0

type Model struct {
	Name string
}

Jump to

Keyboard shortcuts

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