https://github.com/aisk/chrysanthemum
https://github.com/aisk/chrysanthemum
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aisk/chrysanthemum
- Owner: aisk
- Created: 2016-10-11T13:32:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T12:50:09.000Z (over 1 year ago)
- Last Synced: 2025-06-03T13:06:53.216Z (11 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chrysanthemum
[](https://godoc.org/github.com/aisk/chrysanthemum)
菊花【Jú Huā】

Add a text spinner to your terminal applications.
## Usage
```go
package main
import (
"github.com/aisk/chrysanthemum"
"time"
)
func main() {
c := chrysanthemum.New("I'll be ok").Start()
time.Sleep(5 * time.Second)
c.End()
c = chrysanthemum.New("I'll be error").Start()
time.Sleep(5 * time.Second)
c.Failed()
}
```