gogenutils

package module
Version: v0.0.0-...-a564d8b Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: MIT Imports: 3 Imported by: 0

README

gogenutils

A collection of helper methods for writing go generate scripts.

GoDoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldName

func FieldName(s string) string

FieldName returns a go struct field name from a text string

func JSONFieldName

func JSONFieldName(s string) string

JSONFieldName returns the lowercase, underscore se

func PascalCase

func PascalCase(s string) string

PascalCase returns the PascalCase version of a text string

func PascalCaseToSnakeCase

func PascalCaseToSnakeCase(s string) string

PascalCaseToSnakeCase converts from PascalCase to snake_case

func SnakeCase

func SnakeCase(s string) string

SnakeCase returns the snake_case version of a text string

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL