util

package module
v0.0.0-...-39bad16 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 2 Imported by: 0

README

util

go utils

This software is released under the MIT License, see LICENSE.txt.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelToSnake

func CamelToSnake(s string) string

CamelToSnake converts a given string to snake case

func SnakeToCamel

func SnakeToCamel(s string) string

SnakeToCamel returns a string converted from snake case to uppercase

func SnakeToLowerCamel

func SnakeToLowerCamel(s string) string

Types

type CaseString

type CaseString string

func NewCaseString

func NewCaseString(s string) CaseString

func (CaseString) Lower

func (this CaseString) Lower() string

func (CaseString) LowerCamel

func (this CaseString) LowerCamel() string

func (CaseString) LowerSnake

func (this CaseString) LowerSnake() string

func (CaseString) Upper

func (this CaseString) Upper() string

func (CaseString) UpperCamel

func (this CaseString) UpperCamel() string

func (CaseString) UpperSnake

func (this CaseString) UpperSnake() string

Directories

Path Synopsis
動的変数コピー コンパイラチェックなし、直書きのほうが早いので要注意
動的変数コピー コンパイラチェックなし、直書きのほうが早いので要注意

Jump to

Keyboard shortcuts

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