strutils
strutils is a small library written in Go for demonstrating how to write a
package from scratch. It includes small utility involving strings.
Installation
Go to you project root, where go.mod exists. Then run the following command in your shell:
go get github.com/byhowe/strutils
Usage
package main
import (
"fmt"
"github.com/byhowe/strutils"
)
func main(){
reversed, err := strutils.Reverse("byhowe")
if err != nil {
log.Fatal(err)
}
fmt.Println(reversed) // ewohyb
}
Contributor(s)
License
The project is under MIT license.