transforms

package
v4.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package transforms provides common transformations from Conjure spec types and to Go specific types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Documentation

func Documentation(documentation *spec.Documentation) string

func Export

func Export(input string) string

func ExportedFieldName

func ExportedFieldName(input string) string

func PackagePath

func PackagePath(conjurePkgName string) string

PackagePath takes a period-delimited Conjure package path and converts it to a slash-delimited one. If the input path has 3 or more segments, the first two segments are omitted. For example, "com.example.folder1.folder2" -> "folder1/folder2".

func Private

func Private(input string) string

func PrivateFieldName

func PrivateFieldName(input string) string

func SafeName

func SafeName(in string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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