package chess type Move struct { StartSquare Coordinate `json:"startSquare"` EndSquare Coordinate `json:"endSquare"` } type Coordinate struct { Col int `json:"col"` Row int `json:"row"` } func parseMove(received string) (*Move, error) { return &Move{}, nil }