fen

package
v0.0.0-...-27709c7 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidColor = fmt.Errorf("invalid color")
	ErrInvalidPiece = fmt.Errorf("invalid piece")
)

Functions

func FromColor

func FromColor(c chess.Color) string

func ToColor

func ToColor(s string) (chess.Color, error)

func ToPiece

func ToPiece(s string) (chess.Piece, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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