bazi

package module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 2 Imported by: 0

README

BaziGo

GO语言的八字库

作者只想保留版权,无任何使用或者发布限制。您只需要在您的发行版本中注明代码出处 https://github.com/warrially/BaziGo

如果有商业谈合作可以直接电话联系 +86-167-632-33049 本人从事八字研发多年

八字部分参考的是三清宫命理 https://weibo.com/bazishequ

日历部分参考中国日历类 中国日历类(Chinese Calendar Class (CCC)) 版本:v0.1,JavaScript版本 版权所有 (C) 2002-2003 neweroica (wy25@mail.bnu.edu.cn) 联系方式: Email: wy25@mail.bnu.edu.cn QQ: 32460746

日历部分参考CNPACK 作者:刘啸 (liuxiao@cnpack.org) 周劲羽(zjy@cnpack.org)

出生日期新历: 1995 年 6 月 16 日 19 : 7 : 0 基本八字: 乙亥 壬午 戊寅 壬戌

命盘解析 Tables
(木)[官] (水)[才] (土)[主] (水)[才]
(水)[才杀] (火)[印劫] (木)[杀卩比] (土)[比伤印]
山头火 杨柳木 城墙土 大海水

所属节令: 芒种 1995 年 6 月 6 日 11 : 42 : 28 小暑 1995 年 7 月 7 日 22 : 1 : 0 大运: 癸未 甲申 乙酉 丙戌 丁亥 戊子 己丑 庚寅 辛卯 壬辰 起运时间 2002 年 5 月 25 日 7 : 7 : 0

package main

import (
	"flag"
	"fmt"

	bazi "github.com/warrially/BaziGo"
)

func main() {
	var nYear int
	var nMonth int
	var nDay int
	var nHour int
	var nMinute int
	var nSecond int
	var nSex int

	flag.IntVar(&nYear, "y", 1995, "-y=1995 ")
	flag.IntVar(&nMonth, "m", 6, "-m=6 ")
	flag.IntVar(&nDay, "d", 16, "-d=16 ")
	flag.IntVar(&nHour, "h", 19, "-h=19 ")
	flag.IntVar(&nMinute, "n", 7, "-n=7 ")
	flag.IntVar(&nSecond, "s", 0, "-s=0 ")
	flag.IntVar(&nSex, "x", 0, "-x=0  1是男0是女 ")

	flag.Parse() //解析输入的参数

	pBazi := bazi.GetBazi(nYear, nMonth, nDay, nHour, nMinute, nSecond, nSex)
	fmt.Println(pBazi)
}
// HTTP 版本
package main

import (
	"fmt"
	"net/http"

	bazi "github.com/warrially/BaziGo"
)

type Myhandler struct{}

func main() {
	http.HandleFunc("/", IndexHandler)
	http.ListenAndServe(":7890", nil)
}
func IndexHandler(w http.ResponseWriter, r *http.Request) {
	pBazi := bazi.GetBazi(1995, 6, 16, 19, 7, 0, 0)
	fmt.Fprintln(w, pBazi.ToHTML())
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChnChar

func GetChnChar(nNumber int) string

func GetChnCharFromYear

func GetChnCharFromYear(nYear int) string

GetChnCharFromYear 年份转成汉字形式

func GetDiZhiFromNumber

func GetDiZhiFromNumber(nValue int) string

GetDiZhiFromNumber 从数字获得地支名, 0-9

func GetGanZhiFromNumber

func GetGanZhiFromNumber(nValue int) string

GetGanZhiFromNumber 从数字获得天干地支名, 0-59

func GetJieQiDate

func GetJieQiDate(pSolarDate *TSolarDate) (*TJieQiDate, *TJieQiDate)

GetJieQiDate 获取某个日期的节气, 和前后两个节气的日期

func GetJieQiFromNumber

func GetJieQiFromNumber(nValue int) string

GetJieQiFromNumber 从数字获得节气名, 0-23

func GetLiChunYear

func GetLiChunYear(pSolarDate *TSolarDate) int

GetLiChunYear 获取某个日期的立春年

func GetNaYinFromNumber

func GetNaYinFromNumber(nValue int) string

GetNaYinFromNumber 从数字获得纳音名, 0-29

func GetShiShenFromNumber

func GetShiShenFromNumber(nValue int) string

GetShiShenFromNumber 从数字获得十神名, 0-9

func GetShiShenLongFromNumber

func GetShiShenLongFromNumber(nValue int) string

GetShiShenLongFromNumber 从数字获取十神长名, 0-9

func GetTianGanFromNumber

func GetTianGanFromNumber(nValue int) string

GetTianGanFromNumber 从数字获得天干名, 0-9

func GetWuXingColorFromNumber

func GetWuXingColorFromNumber(nValue int) string

GetWuXingColorFromNumber 获取五行的颜色

func GetWuXingFromNumber

func GetWuXingFromNumber(nValue int) string

GetWuXingFromNumber 从数字获得五行名, 0-4

func GetYinYangFromNumber

func GetYinYangFromNumber(nValue int) string

GetYinYangFromNumber (阴 == 0, 阳 == 1)

Types

type TBazi

type TBazi struct {
	// contains filtered or unexported fields
}

TBazi 八字大类

func GetBazi

func GetBazi(nYear, nMonth, nDay, nHour, nMinute, nSecond, nSex int) *TBazi

GetBazi 旧版八字接口, 八字入口

func NewBazi

func NewBazi(pSolarDate *TSolarDate, nSex int) *TBazi

NewBazi 新建八字

func NewBaziFromLunarDate

func NewBaziFromLunarDate(pLunarDate *TLunarDate, nSex int) *TBazi

NewBaziFromLunarDate 新建八字 从农历

func (*TBazi) DaYun

func (m *TBazi) DaYun() *TDaYun

DaYun 获取大运

func (*TBazi) Date

func (m *TBazi) Date() *TSolarDate

Date 获取日期, 默认就是新历

func (*TBazi) LunarDate

func (m *TBazi) LunarDate() *TLunarDate

LunarDate 获取农历日期

func (*TBazi) QiYunDate

func (m *TBazi) QiYunDate() *TSolarDate

QiYunDate 起运时间

func (*TBazi) SiZhu

func (m *TBazi) SiZhu() *TSiZhu

SiZhu 四柱

func (*TBazi) SolarData

func (m *TBazi) SolarData() *TSolarDate

SolarData 获取新历日期

func (*TBazi) String

func (m *TBazi) String() string

String 打印用

func (*TBazi) ToHTML

func (m *TBazi) ToHTML() string

ToHTML 转换成网页形式

type TBaziDate

type TBaziDate struct {
	// contains filtered or unexported fields
}

TBaziDate 八字历法 八字历法的年 和 新历的 和 农历的都不一样. 八字历法是按照立春为1年. 然后每个节气为月

func NewBaziDate

func NewBaziDate(pSolarDate *TSolarDate) *TBaziDate

NewBaziDate 从新历转成八字历

func (*TBaziDate) Day

func (m *TBaziDate) Day() int

Day 天

func (*TBaziDate) Hour

func (m *TBaziDate) Hour() int

Hour 小时

func (*TBaziDate) Month

func (m *TBaziDate) Month() int

Month 月.

func (*TBaziDate) NextJie

func (m *TBaziDate) NextJie() *TJieQiDate

NextJie 下一个节气

func (*TBaziDate) PreviousJie

func (m *TBaziDate) PreviousJie() *TJieQiDate

PreviousJie 上一个节气

func (*TBaziDate) String

func (m *TBaziDate) String() string

func (*TBaziDate) Year

func (m *TBaziDate) Year() int

Year 年. 立春

type TCangGan

type TCangGan struct {
	// contains filtered or unexported fields
}

TCangGan 藏干

func NewCangGan

func NewCangGan(nDayGan int, pZhi *TZhi) *TCangGan

NewCangGan 新建藏干

func (*TCangGan) Gan

func (m *TCangGan) Gan(nIdx int) *TGan

Gan 获取具体某个索引

func (*TCangGan) ShiShen

func (m *TCangGan) ShiShen(nIdx int) *TShiShen

ShiShen 十神

func (*TCangGan) Size

func (m *TCangGan) Size() int

Size 内容

func (*TCangGan) String

func (m *TCangGan) String() string

type TDaYun

type TDaYun struct {
	// contains filtered or unexported fields
}

TDaYun 大运

func NewDaYun

func NewDaYun(pSiZhu *TSiZhu, nSex int) *TDaYun

NewDaYun 新大运

func (*TDaYun) Age

func (m *TDaYun) Age(nIndex int) int

Age 获取年龄

func (*TDaYun) ShunNi

func (m *TDaYun) ShunNi() bool

ShunNi 顺逆

func (*TDaYun) Size

func (m *TDaYun) Size() int

Size 容量就是12

func (*TDaYun) String

func (m *TDaYun) String() string

String

func (*TDaYun) Zhu

func (m *TDaYun) Zhu(nIndex int) *TZhu

Zhu 获取柱

type TGan

type TGan int

TGan 天干

func NewGan

func NewGan(nValue int) *TGan

NewGan 创建天干

func (*TGan) String

func (m *TGan) String() string

String 转换成可阅读的字符串

func (*TGan) ToInt

func (m *TGan) ToInt() int

ToInt 转换成int

func (*TGan) ToString

func (m *TGan) ToString() string

ToString 转换成可阅读的字符串

func (*TGan) ToWuXing

func (m *TGan) ToWuXing() *TWuXing

ToWuXing 天干转化成五行

func (*TGan) Value

func (m *TGan) Value() int

Value 转换成int

type TGanZhi

type TGanZhi int

TGanZhi 干支

func CombineGanZhi

func CombineGanZhi(pGan *TGan, pZhi *TZhi) *TGanZhi

CombineGanZhi 将天干地支组合成干支,0-9 0-11 转换成 0-59

func NewGanZhi

func NewGanZhi(nValue int) *TGanZhi

NewGanZhi 创建干支

func NewGanZhiFromDay

func NewGanZhiFromDay(nAllDays int) *TGanZhi

NewGanZhiFromDay 获得八字天的干支, 0-59 对应 甲子到癸亥

func NewGanZhiFromYear

func NewGanZhiFromYear(nYear int) *TGanZhi

NewGanZhiFromYear 获得八字年的干支,0-59 对应 甲子到癸亥

func (*TGanZhi) ExtractGanZhi

func (m *TGanZhi) ExtractGanZhi() (*TGan, *TZhi)

ExtractGanZhi 将干支拆分成天干地支,0-59 转换成 0-9 0-11

func (*TGanZhi) String

func (m *TGanZhi) String() string

String 转换成可阅读的字符串

func (*TGanZhi) ToInt

func (m *TGanZhi) ToInt() int

ToInt 转换成int

func (*TGanZhi) ToNaYin

func (m *TGanZhi) ToNaYin() *TNaYin

ToNaYin 纳音

func (*TGanZhi) ToString

func (m *TGanZhi) ToString() string

ToString 转换成可阅读的字符串

func (*TGanZhi) Value

func (m *TGanZhi) Value() int

Value 转换成int

type THeHuaChong

type THeHuaChong struct {
}

THeHuaChong 荷花冲

type TJieQi

type TJieQi int

TJieQi 节气类

func (*TJieQi) IsJie

func (m *TJieQi) IsJie() bool

IsJie 节气是否是节, 节气分成节和气,

func (*TJieQi) Month

func (m *TJieQi) Month() int

Month 节气月份

func (*TJieQi) String

func (m *TJieQi) String() string

String 转换成可阅读的字符串

func (*TJieQi) ToInt

func (m *TJieQi) ToInt() int

ToInt 转换成int

func (*TJieQi) ToMonth

func (m *TJieQi) ToMonth() int

ToMonth 转成节气月

func (*TJieQi) ToString

func (m *TJieQi) ToString() string

ToString 转换成可阅读的字符串

func (*TJieQi) Value

func (m *TJieQi) Value() int

Value 转换成int

type TJieQiDate

type TJieQiDate struct {
	Year   int    // 年
	Month  int    // 月
	Day    int    // 日
	Hour   int    // 时
	Minute int    // 分
	Second int    // 秒
	JieQi  TJieQi // 节气
}

TJieQiDate 节气

func (*TJieQiDate) String

func (m *TJieQiDate) String() string

String

func (*TJieQiDate) ToSolarDate

func (m *TJieQiDate) ToSolarDate() *TSolarDate

ToSolarDate 节气日期 转成 普通日期用

type TLunarDate

type TLunarDate struct {
	// contains filtered or unexported fields
}

TLunarDate 农历日期

func NewLunarDate

func NewLunarDate(nYear int, nMonth int, nDay int, nHour int, nMinute int, nSecond int) *TLunarDate

NewLunarDate 新建一个农历日期, 顺序月

func NewLunarDateFrom64TimeStamp

func NewLunarDateFrom64TimeStamp(nTimeStamp int64) *TLunarDate

NewLunarDateFrom64TimeStamp 从64位时间戳反推日期

func NewLunarDateFromLeap

func NewLunarDateFromLeap(nYear int, nMonth int, nDay int, nHour int, nMinute int, nSecond int, isLeap bool) *TLunarDate

NewLunarDateFromLeap 新建一个农历日期, 带闰月

func (*TLunarDate) Day

func (m *TLunarDate) Day() string

Day 日

func (*TLunarDate) Get64TimeStamp

func (m *TLunarDate) Get64TimeStamp() int64

Get64TimeStamp 获取64位时间戳

func (*TLunarDate) GetAllDays

func (m *TLunarDate) GetAllDays() int

GetAllDays 获取距离公元原点的日数, 这里是农历来的年月日

func (*TLunarDate) GetDateIsValid

func (m *TLunarDate) GetDateIsValid() bool

GetDateIsValid 返回日期是否合法

func (*TLunarDate) GetDayTimeFrom64TimeStamp

func (m *TLunarDate) GetDayTimeFrom64TimeStamp(nTimeStamp int64)

GetDayTimeFrom64TimeStamp 从64位时间戳反推其他参数

func (*TLunarDate) GetLeapMonth

func (m *TLunarDate) GetLeapMonth() int

GetLeapMonth 获取闰月

func (*TLunarDate) GetMonthDays

func (m *TLunarDate) GetMonthDays() int

GetMonthDays 获取某农历年的第N个月是大月30天还是小月29天

func (*TLunarDate) GetMonthFrom64TimeStamp

func (m *TLunarDate) GetMonthFrom64TimeStamp(nTimeStamp int64)

GetMonthFrom64TimeStamp .

func (*TLunarDate) GetYearFrom64TimeStamp

func (m *TLunarDate) GetYearFrom64TimeStamp(nTimeStamp int64) *TLunarDate

GetYearFrom64TimeStamp 从64位时间戳反推年

func (*TLunarDate) Hour

func (m *TLunarDate) Hour() string

Hour 时

func (*TLunarDate) Month

func (m *TLunarDate) Month() string

Month 月

func (*TLunarDate) String

func (m *TLunarDate) String() string

func (*TLunarDate) ToSolarDate

func (m *TLunarDate) ToSolarDate() *TSolarDate

ToLunarDate 转成农历年

func (*TLunarDate) Year

func (m *TLunarDate) Year() string

Year 年

type TNaYin

type TNaYin int

TNaYin 纳音

func NewNaYin

func NewNaYin(nValue int) *TNaYin

NewNaYin 纳音

func (*TNaYin) String

func (m *TNaYin) String() string

String 转换成可阅读的字符串

func (*TNaYin) ToInt

func (m *TNaYin) ToInt() int

func (*TNaYin) ToString

func (m *TNaYin) ToString() string

func (*TNaYin) Value

func (m *TNaYin) Value() int

Value 转换成int

type TShiShen

type TShiShen int

TShiShen 十神

func NewShiShen

func NewShiShen(nValue int) *TShiShen

NewShiShen 新建十神

func NewShiShenFromGan

func NewShiShenFromGan(nDayGan int, pGan2 *TGan) *TShiShen

NewShiShenFromGan 从日干和目标干获取十神 nDayGan 日干 Gan2 目标干

func (*TShiShen) String

func (m *TShiShen) String() string

String 转换成可阅读的字符串

func (*TShiShen) ToInt

func (m *TShiShen) ToInt() int

ToInt 转换成int

func (*TShiShen) ToString

func (m *TShiShen) ToString() string

ToString 转换成可阅读的字符串

func (*TShiShen) Value

func (m *TShiShen) Value() int

Value 转换成int

type TSiZhu

type TSiZhu struct {
	// contains filtered or unexported fields
}

TSiZhu 四柱

func NewSiZhu

func NewSiZhu(pSolarDate *TSolarDate, pBaziDate *TBaziDate) *TSiZhu

NewSiZhu 新四柱

func (*TSiZhu) DayZhu

func (m *TSiZhu) DayZhu() *TZhu

DayZhu 返回日柱

func (*TSiZhu) HourZhu

func (m *TSiZhu) HourZhu() *TZhu

HourZhu 返回时柱

func (*TSiZhu) MonthZhu

func (m *TSiZhu) MonthZhu() *TZhu

MonthZhu 返回月柱

func (*TSiZhu) String

func (m *TSiZhu) String() string

func (*TSiZhu) XiYong

func (m *TSiZhu) XiYong() *TXiYong

喜用神和五行强度

func (*TSiZhu) YearZhu

func (m *TSiZhu) YearZhu() *TZhu

YearZhu 返回年柱

type TSolarDate

type TSolarDate struct {
	// contains filtered or unexported fields
}

TSolarDate 日期

func NewQiYun

func NewQiYun(isShunNi bool, dtPreviousJie *TSolarDate, dtNextJie *TSolarDate, dtSolarDate *TSolarDate) *TSolarDate

NewQiYun 起运时间

func NewSolarDate

func NewSolarDate(nYear, nMonth, nDay, nHour, nMinute, nSecond int) *TSolarDate

NewSolarDate 创建一个新历时间

func NewSolarDateFrom64TimeStamp

func NewSolarDateFrom64TimeStamp(nTimeStamp int64) *TSolarDate

NewSolarDateFrom64TimeStamp 从64位时间戳反推日期

func (*TSolarDate) Day

func (m *TSolarDate) Day() int

Day 日

func (*TSolarDate) Get64TimeStamp

func (m *TSolarDate) Get64TimeStamp() int64

Get64TimeStamp 生成64位时间戳

func (*TSolarDate) GetAllDays

func (m *TSolarDate) GetAllDays() int

GetAllDays 获得距公元原点的日数 这里是公历的年月日

func (*TSolarDate) GetBasicDays

func (m *TSolarDate) GetBasicDays(nYear, nMonth, nDay int) int

GetBasicDays 获取基本数据

func (*TSolarDate) GetCalendarType

func (m *TSolarDate) GetCalendarType(nYear, nMonth, nDay int) int

GetCalendarType 根据公历日期判断当时历法

func (*TSolarDate) GetDateIsValid

func (m *TSolarDate) GetDateIsValid(nYear, nMonth, nDay int) bool

GetDateIsValid 返回公历日期是否合法

func (*TSolarDate) GetDayTimeFrom64TimeStamp

func (m *TSolarDate) GetDayTimeFrom64TimeStamp(nTimeStamp int64)

GetDayTimeFrom64TimeStamp 从64位时间戳反推其他参数

func (*TSolarDate) GetDiffSeconds

func (m *TSolarDate) GetDiffSeconds(other *TSolarDate) int64

GetDiffSeconds 获取两个日期之间相差的秒数

func (*TSolarDate) GetIsLeapYear

func (m *TSolarDate) GetIsLeapYear(nYear int) bool

GetIsLeapYear 返回某公历是否闰年

func (*TSolarDate) GetLeapDays

func (m *TSolarDate) GetLeapDays(nYear, nMonth, nDay int) int

GetLeapDays 获取闰年天数

func (*TSolarDate) GetMonthDays

func (m *TSolarDate) GetMonthDays(nYear, nMonth int) int

GetMonthDays 取本月天数,不考虑 1582 年 10 月的特殊情况

func (*TSolarDate) GetMonthFrom64TimeStamp

func (m *TSolarDate) GetMonthFrom64TimeStamp(nTimeStamp int64)

GetMonthFrom64TimeStamp 从64位时间戳反推月,

func (*TSolarDate) GetYearFrom64TimeStamp

func (m *TSolarDate) GetYearFrom64TimeStamp(nTimeStamp int64) *TSolarDate

GetYearFrom64TimeStamp 从64位时间戳反推年

func (*TSolarDate) Hour

func (m *TSolarDate) Hour() int

Hour 时

func (*TSolarDate) Minute

func (m *TSolarDate) Minute() int

Minute 分

func (*TSolarDate) Month

func (m *TSolarDate) Month() int

Month 月

func (*TSolarDate) Second

func (m *TSolarDate) Second() int

Second 秒

func (*TSolarDate) String

func (m *TSolarDate) String() string

func (*TSolarDate) ToBaziDate

func (m *TSolarDate) ToBaziDate() *TBaziDate

ToBaziDate 转成八字日期

func (*TSolarDate) ToLunarDate

func (m *TSolarDate) ToLunarDate() *TLunarDate

ToLunarDate 转成农历年

func (*TSolarDate) Year

func (m *TSolarDate) Year() int

Year 年

type TTianGanWuHe

type TTianGanWuHe struct {
}

TTianGanWuHe 天干五合

type TWuXing

type TWuXing int

TWuXing 五行

func GetWuXingFromGan

func GetWuXingFromGan(pGan *TGan) *TWuXing

GetWuXingFromGan 获得某干的五行,0-4 对应 金木水火土 甲乙为木,丙丁为火,戊己为土,庚辛为金,壬癸为水,

func NewWuXing

func NewWuXing(nValue int) *TWuXing

NewWuXing 创建五行

func (*TWuXing) Color

func (m *TWuXing) Color() string

Color 五行颜色

func (*TWuXing) String

func (m *TWuXing) String() string

String 转换成可阅读的字符串

func (*TWuXing) ToInt

func (m *TWuXing) ToInt() int

ToInt 转换成int

func (*TWuXing) ToString

func (m *TWuXing) ToString() string

ToString 转换成可阅读的字符串

func (*TWuXing) Value

func (m *TWuXing) Value() int

Value 转换成int

type TXiYong

type TXiYong struct {
	// contains filtered or unexported fields
}

TXiYong 喜用神

func NewXiYong

func NewXiYong(pSiZhu *TSiZhu) *TXiYong

NewXiYong 新建喜用神

func (*TXiYong) String

func (m *TXiYong) String() string

type TYinYang

type TYinYang int

TYinYang 阴阳

func NewYinYang

func NewYinYang(nValue int) *TYinYang

NewYinYang 创建阴阳

func NewYinYangFromGan

func NewYinYangFromGan(pGan *TGan) *TYinYang

NewYinYangFromGan 从干里创建阴阳

func NewYinYangFromZhu

func NewYinYangFromZhu(pZhu *TZhu) *TYinYang

NewYinYangFromZhu 从柱里创建阴阳

func (*TYinYang) String

func (m *TYinYang) String() string

String 转换成可阅读的字符串

func (*TYinYang) ToInt

func (m *TYinYang) ToInt() int

ToInt 转换成int

func (*TYinYang) ToString

func (m *TYinYang) ToString() string

ToString 转换成可阅读的字符串

func (*TYinYang) Value

func (m *TYinYang) Value() int

Value 转换成int

type TZhi

type TZhi int

TZhi 地支

func NewZhi

func NewZhi(nValue int) *TZhi

NewZhi 创建地支

func (*TZhi) String

func (m *TZhi) String() string

String 转换成可阅读的字符串

func (*TZhi) ToInt

func (m *TZhi) ToInt() int

ToInt 转换成int

func (*TZhi) ToString

func (m *TZhi) ToString() string

ToString 转换成可阅读的字符串

func (*TZhi) ToWuXing

func (m *TZhi) ToWuXing() *TWuXing

ToWuXing 地支转化成五行

func (*TZhi) Value

func (m *TZhi) Value() int

Value 转换成int

type TZhu

type TZhu struct {
	// contains filtered or unexported fields
}

TZhu 柱

func NewZhu

func NewZhu() *TZhu

NewZhu 新建柱子

func (*TZhu) CangGan

func (m *TZhu) CangGan() *TCangGan

CangGan 获取藏干

func (*TZhu) Gan

func (m *TZhu) Gan() *TGan

Gan 获取干

func (*TZhu) GanZhi

func (m *TZhu) GanZhi() *TGanZhi

GanZhi 获取干支

func (*TZhu) ShiShen

func (m *TZhu) ShiShen() *TShiShen

ShiShen 获取十神

func (*TZhu) String

func (m *TZhu) String() string

String 打印

func (*TZhu) ToYinYang

func (m *TZhu) ToYinYang() *TYinYang

ToYinYang 从柱里获取阴阳 (阴 == 0, 阳 == 1)

func (*TZhu) Zhi

func (m *TZhu) Zhi() *TZhi

Zhi 获取支

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL