namer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NamingCamel

func NamingCamel(raw string) string

NamingCamel is a Namer function it convert the name into the 'CamelCaseModel'

func NamingKebab

func NamingKebab(raw string) string

NamingKebab is a Namer function it convert the name into the 'kebab-case-model'

func NamingLowerCamel

func NamingLowerCamel(raw string) string

NamingLowerCamel is a Namer function it convert the name into the 'camelCaseModel'

func NamingSnake

func NamingSnake(raw string) string

NamingSnake is a Namer function it convert the name into the 'snake_case_model'

Types

type Namer

type Namer func(string) string

Namer is the interface responsible for naming the structures

type RepositoryNamer

type RepositoryNamer interface {
	RepositoryName() string
}

RepositoryNamer is the interface used for the repositories to implement that defines it's name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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