templates

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentBlock

func CommentBlock(str string) string

CommentBlock outputs the string as a comment block, ie prefixing each line with //

func FirstLower

func FirstLower(str string) string

FirstLower sets the first character of the string to lower case

func FirstUpper

func FirstUpper(str string) string

FirstUpper sets the first character of the string to upper case

func ToPascalCase

func ToPascalCase(value string) string

ToPascalCase returns a pascal-cased (e.g. SomeValueLikeThis) out of a string

func ToSnakeCase

func ToSnakeCase(str string) string

ToSnakeCase converts the

Types

This section is empty.

Jump to

Keyboard shortcuts

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