Skip to content

chai2010/base60

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


base60天干地支编码

Install

  1. go get github.com/chai2010/base60
  2. go run hello.go

Example

package main

import (
	"fmt"

	"github.com/chai2010/base60"
)

func main() {
	s0 := base60.Encode([]byte("你好"))
	fmt.Println(s0)

	s1 := base60.Decode("乙丑癸巳甲寅己亥丁卯甲申丁未甲午己巳")
	fmt.Println(string(s1))

	// Output:
	// 乙丑癸巳甲寅己亥丁卯甲申丁未甲午己巳
	// 你好
}

BUGS

Report bugs to [email protected].

Thanks!

About

base60: 天干地支编码: 乙丑癸巳甲寅己亥丁卯甲申丁未甲午己巳

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages