Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Languages

You can’t perform that action at this time.