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"
}