Skip to content

byhowe/strutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Demo project demonstrating package writing in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages