Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 370 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 370 Bytes

gochunker

Chunk your text without cutting the words off.

Usage

package main

import (
	"fmt"

	"github.com/fahadsiddiqui/gochunker/chunker"
)

func main() {
	chnks, _ := chunker.Chunker("hey, what's up what are you doing these days", 12)
	for _, ch := range chnks {
		fmt.Println(ch)
	}
}

Author

Fahad Siddiqui