No description, website, or topics provided.
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
truncate.go
truncate_test.go

README.md

Sunnyday

Build Status

Sunnyday is a Truncate implemented in Go.

Installation

% go get github.com/funnythingz/sunnyday

Usage

package main

import(
  "fmt"
  "github.com/funnythingz/sunnyday"
)

func main() {
    fmt.Println(sunnyday.Truncate("うんこっこたのしいお!", 5))
}
うんこっこ...

options

custom omission

fmt.Println(sunnyday.Truncate("うんこっこたのしいお!", 5, "...more"))
うんこっこ...more

© funnythingz