Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


base60天干地支编码

Install

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

Example

package main

import (
	"fmt"

	"github.com/grubbybedroc/base60"
)

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

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

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

BUGS

Report bugs to chaishushan@gmail.com.

Thanks!

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages