nameb

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 2 Imported by: 1

README

go-nameb

GoDev

go-nameb パッケージは識別子名の命名規則変換を提供します.

Usage

nameb.Snake("SnakeCase") == "snake_case"
nameb.Kebab("kebab_case") == "kebab-case"
nameb.Camel("camel-case") == "camelCase"
nameb.Pascal("pascalCase") == "PascalCase"

License

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

Author

17e10

Documentation

Overview

name パッケージは識別子名の操作を提供します.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Camel

func Camel(s string) string

Camel は camelCase へ名前変換します.

func Kebab

func Kebab(s string) string

Kebab は Kebab-case へ名前変換します.

func Pascal

func Pascal(s string) string

Pascal は PascalCase へ名前変換します.

func Snake

func Snake(s string) string

Snake は snake_case へ名前変換します.

Types

This section is empty.

Jump to

Keyboard shortcuts

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