Documentation ¶
Index ¶
- Variables
- func Normalize(k *ptypes.Kif)
- func PieceFromName(name string) ptypes.Piece_Id
- func PrintElapsed(sec int32) string
- func PrintFinishedStatus(s ptypes.FinishedStatus_Id) string
- func PrintModifier(m ptypes.Modifier_Id) string
- func PrintMove(s *ptypes.Step) string
- func PrintPhase(s *ptypes.Step) string
- func PrintPiece(p ptypes.Piece_Id) string
- func PrintPos(p *ptypes.Pos) string
- func PrintThinking(sec int32) string
- func SetEndTime(k *ptypes.Kif, t time.Time)
- func SetStartTime(k *ptypes.Kif, t time.Time)
- func StepToMove(step *ptypes.Step) string
- type Format
- type ParseOption
- type Parser
- type Writer
- type WriterOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EOS = fmt.Errorf("EOS") ErrMismatch = fmt.Errorf("mismatch") )
Functions ¶
func PieceFromName ¶
func PrintElapsed ¶
func PrintFinishedStatus ¶
func PrintFinishedStatus(s ptypes.FinishedStatus_Id) string
func PrintModifier ¶
func PrintModifier(m ptypes.Modifier_Id) string
func PrintPhase ¶
func PrintPiece ¶
func PrintThinking ¶
func StepToMove ¶
Types ¶
type ParseOption ¶
type ParseOption func(*Parser)
func ParseEncodingSJIS ¶
func ParseEncodingSJIS() ParseOption
func ParseEncodingUTF8 ¶
func ParseEncodingUTF8() ParseOption
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func NewParser ¶
func NewParser(ops ...ParseOption) *Parser
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func NewWriter ¶
func NewWriter(ops ...WriterOption) *Writer
type WriterOption ¶
type WriterOption func(*Writer)
func SetDelimiter ¶
func SetDelimiter(delimiter string) WriterOption
func SetFormat ¶
func SetFormat(format Format) WriterOption
func WriteEncodingSJIS ¶
func WriteEncodingSJIS() WriterOption
func WriteEncodingUTF8 ¶
func WriteEncodingUTF8() WriterOption
Click to show internal directories.
Click to hide internal directories.