migration into monorepo complete

This commit is contained in:
2023-01-27 22:26:17 -08:00
parent ec13f4416c
commit 6b918c4a57
8 changed files with 8 additions and 109 deletions

31
cmd/cli/cli.go Normal file
View File

@@ -0,0 +1,31 @@
package main
import (
"fmt"
"math/rand"
"time"
"github.com/taigrr/gico/gitgraph/term"
)
func init() {
rand.Seed(time.Now().UnixMilli())
}
func main() {
freq := []int{}
for i := 0; i < 7; i++ {
freq = append(freq, rand.Int())
}
fmt.Println("week:")
term.GetWeekUnicode(freq)
fmt.Println()
fmt.Println()
fmt.Println()
freq = []int{}
for i := 0; i < 365; i++ {
freq = append(freq, rand.Int())
}
fmt.Println("year:")
term.GetYearUnicode(freq)
}