https://github.com/sug0/go-irccol
Simple package to provide mIRC color formatting functionality for your IRC bots
https://github.com/sug0/go-irccol
bots colors fmt format go irc mirc
Last synced: about 1 year ago
JSON representation
Simple package to provide mIRC color formatting functionality for your IRC bots
- Host: GitHub
- URL: https://github.com/sug0/go-irccol
- Owner: sug0
- Created: 2018-05-22T00:32:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T00:37:49.000Z (about 8 years ago)
- Last Synced: 2025-02-13T08:54:17.238Z (over 1 year ago)
- Topics: bots, colors, fmt, format, go, irc, mirc
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Documentation/reference
Find it at [godoc](https://godoc.org/github.com/sugoiuguu/go-irccol).
# Example usage
```go
// import col "github.com/sugoiuguu/go-irccol"
msg := col.F("Hello world!").Attr(col.Bold).Fg(col.Red).String()
irc.Send("#bots", msg)
```