import (
	"fmt"
	"time"

	"github.com/nosixtools/solarlunar"
)

func main() {
	//阳历转阴历 中文
	solarDate := time.Now().Format("2006-01-02")
	fmt.Println(solarlunar.SolarToChineseLuanr(solarDate))

	//阳历转阴历 数字
	fmt.Println(solarlunar.SolarToSimpleLuanr(solarDate))

	//阴历转阳历
	lunarDate := "2022-02-26"
	fmt.Println(solarlunar.LunarToSolar(lunarDate, false))
}