Documentation ¶ Index ¶ type CastlingRights type Comment type History type InternalMove type KingPosition type Move type Piece type Square Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CastlingRights ¶ type CastlingRights struct { KingSide bool QueenSide bool } type Comment ¶ type Comment struct { Fen string Comment string } type History ¶ type History struct { Move *InternalMove Kings map[string]int Turn string Castling map[string]int EpSquare int HalfMoves int MoveNumber int } type InternalMove ¶ type InternalMove struct { Color string From int To int Piece string // nullable (can be "") Captured string // nullable (can be "") Promotion string Flags int } type KingPosition ¶ type KingPosition struct { Color string Regex *regexp.Regexp } type Move ¶ type Move struct { Color string From string To string Piece string // nullable (can be "") Captured string // nullable (can be "") Promotion string Flags string San string Lan string Before string After string } type Piece ¶ type Piece struct { Color string PieceType string } type Square ¶ type Square struct { Coords string PieceType string Color string } Source Files ¶ View all Source files castling_rights.go comment.go history.go internal_move.go king_position.go move.go piece.go square.go Click to show internal directories. Click to hide internal directories.