go-asciibot: github.com/mattes/go-asciibot Index | Files | Directories

package asciibot

import "github.com/mattes/go-asciibot"

Index

Package Files

bot.go parts.go

Variables

var (
    ErrIDLength = fmt.Errorf("id length must be 5")
    ErrIDHex    = fmt.Errorf("id must be 5 hexadecimal characters [0-9a-f]")
)

func Generate Uses

func Generate(id string) (string, error)

func MustGenerate Uses

func MustGenerate(id string) string

func Random Uses

func Random() string

func RandomID Uses

func RandomID() string

Directories

PathSynopsis
example

Package asciibot imports 4 packages (graph) and is imported by 1 packages. Updated 2019-03-15. Refresh now. Tools for package owners.