types

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 0 Imported by: 4 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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