Discover Packages
github.com/cnk3x/bys
package
module
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: May 26, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
八一数理测算
通过八一数理和康熙字典笔画测算名称和测算手机号码
https://pkg.go.dev/github.com/cnk3x/bys
//api 很简单
package main
import "github.com/cnk3x/bys"
func main(){
nr := bys.AssessName("我是名称")
fmt.Printf("%+v", nr)
pr := bys.AssessPhone("13812348765")
fmt.Printf("%+v", pr)
}
Expand ▾
Collapse ▴
Documentation
¶
type NameReport struct {
N string `json:"n,omitempty"`
C []RKx `json:"c,omitempty"`
Wx string `json:"wx,omitempty"`
R81 `json:",inline"`
}
NameReport 名称评测结果
type PhoneReport struct {
Phone string `json:"phone,omitempty"`
R81 `json:",inline"`
}
PhoneReport 手机号评测结果
type R81 struct {
S int `json:"s,omitempty"`
F int `json:"f,omitempty"`
J string `json:"j,omitempty"`
M string `json:"m,omitempty"`
Z string `json:"z,omitempty"`
}
R81 八一数理结果,数理评分, 吉凶, 吉凶描述, 官财艺, 性格影响
type RKx struct {
Z string `json:"z,omitempty"`
B int `json:"b,omitempty"`
Wx string `json:"wx,omitempty"`
}
RKx 康熙笔画数和五行属性
Source Files
¶
Click to show internal directories.
Click to hide internal directories.