strings

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 5 Imported by: 0

README

Golage strings package extension

Simple and useful strings package extension in Golang

Features

  • Generate random string
  • More string cases (ToSnakeCase)

Installation

Get from Github:

go get github.com/golage/strings

How to use

Import into your code:

import stringsext "github.com/golage/strings"

Documentation

Overview

Package strings is simple and useful extension

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Random

func Random(length int, letters string) string

Random returns random string from letters with length

func ToSnake

func ToSnake(s string) string

ToSnake returns s with all Unicode letters mapped to their 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