Versions in this module Expand all Collapse all v1 v1.0.1 Apr 23, 2024 Changes in this version type Deal + func GetDeal(s string) (Deal, error) v1.0.0 Apr 20, 2024 Changes in this version + const CallSuffixGoodCall + const CallSuffixPoorCall + const CallSuffixQuestionableCall + const CallSuffixSpeculativeCall + const CallSuffixVeryGoodCall + const CallSuffixVeryPoorCall + const CallTokenAP + const CallTokenPass + const CallTokenX + const CallTokenXX + const DenominationClubs + const DenominationDiamonds + const DenominationHearts + const DenominationNoTrump + const DenominationSpades + const East + const NAGCallHasBeenCorrectedManually + const NAGCardHasBeenCorrectedManually + const NAGGoodCall + const NAGGoodCard + const NAGNoAnnotation + const NAGPoorCall + const NAGPoorCard + const NAGQuestionableCall + const NAGQuestionableCard + const NAGSpeculativeCall + const NAGSpeculativeCard + const NAGVeryGoodCall + const NAGVeryGoodCard + const NAGVeryPoorCall + const NAGVeryPoorCard + const NoSeat + const North + const PairBoth + const PairEastWest + const PairNoPair + const PairNorthSouth + const PlayCardSuffixGoodCard + const PlayCardSuffixPoorCard + const PlayCardSuffixQuestionableCard + const PlayCardSuffixSpeculativeCard + const PlayCardSuffixVeryGoodCard + const PlayCardSuffixVeryPoorCard + const RankAce + const RankEight + const RankFive + const RankFour + const RankJack + const RankKing + const RankNine + const RankQueen + const RankSeven + const RankSix + const RankTen + const RankThree + const RankTwo + const RiskDouble + const RiskRedouble + const RiskUndoubled + const South + const SuitClubs + const SuitDiamonds + const SuitHearts + const SuitSpades + const West + type Auction struct + Calls []Call + Dealer Seat + Notes []Note + func GetAuction(dealer string, lines []string) (Auction, error) + type Call struct + NAGs []string + NoteReference string + SuffixAnnotation CallSuffix + Token string + type CallSuffix string + type CallToken string + type Card struct + Rank Rank + Suit Suit + type Contract struct + Denomination Denomination + Pass bool + Risk Risk + Tricks int + func GetContract(s string) (Contract, error) + type Date struct + Day int + Month int + Year int + func ParseDate(s string) (Date, error) + type Deal struct + East []Card + North []Card + South []Card + West []Card + func ToDeal(s string) (Deal, error) + type Declarer struct + Irregular bool + Seat Seat + func GetDeclarer(s string) (Declarer, error) + type Denomination string + type Game struct + Annotator string + AnnotatorNA string + Application string + Auction Auction + BidSystemEW string + BidSystemNS string + Board string + Competition string + Contract Contract + Date Date + Deal Deal + DealId string + Dealer Seat + Declarer Declarer + Description string + East string + EastNA string + EastType string + Event string + EventDate Date + EventSponsor string + FrenchMP bool + Generator string + Hidden []Seat + HomeTeam string + Mode string + North string + NorthNA string + NorthType string + PairEW string + PairNS string + Play Play + Result Score[int] + Room string + Round string + Score Score[int] + ScoreIMP Score[int] + ScoreMP Score[int] + ScorePercentage Score[float32] + ScoreRubber [2]int + Scoring []string + Section string + Site string + South string + SouthNA string + SouthType string + Stage string + Table string + Termination string + Time Time + TimeCall int + TimeCard int + TimeControl TimeControl + UTCDate Time + UTCTime Time + VisitTeam string + Vulnerable Pair + West string + WestNA string + WestType string + type MetaData struct + Version struct{ ... } + type NAG string + type Note struct + Id string + Text string + type PBN struct + Games []Game + MetaData MetaData + type Pair string + type Play struct + Direction Seat + Notes []Note + Tricks []Trick + func GetPlay(direction string, lines []string) (Play, error) + type PlayCard struct + NAGs []string + NoteReference string + SuffixAnnotation PlayCardSuffix + Token string + type PlayCardSuffix string + type Rank string + type Risk string + type Score struct + Declarer T + EastWest T + NorthSouth T + func GetScore[T int | float32](s string) (Score[T], error) + type Seat string + func GetHidden(s string) ([]Seat, error) + type Suit string + type Time struct + Hours int + Minutes int + Seconds int + func ParseTime(s string) (Time, error) + type TimeControl struct + Games int + Minutes int + func GetTimeControl(s string) (TimeControl, error) + type Trick struct + PlayCards []PlayCard