stringutils

package module
v0.0.0-...-4e3538c Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 2 Imported by: 0

README

string utils

stringutils is a collection of small utility tools for 'string' type.

Documentation

Overview

Package stringutils implements basic string utility functions for demo purposes only!

Index

Examples

Constants

This section is empty.

Variables

View Source
var ErrInvalidUTF8 = errors.New("input is not a valid UTF-8")

Functions

func Reverse

func Reverse(s string) (string, error)

Reverse reverses given string!

Example
r, _ := stringutils.Reverse("vigo")
fmt.Println(r)
Output:

ogiv

Types

This section is empty.

Jump to

Keyboard shortcuts

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