Skip to content

bluebrown/format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Format

package main

import (
 "fmt"

 "github.com/bluebrown/format"
)

func main() {
 fmt.Println(format.ListOr("apple", "orange", "kiwi"))
 // apple, orange or kiwi
}

If you want to change the or term, set the global variable OrTerm.

func init() {
 format.OrTerm = "oder"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages