var n = -42//В Go нет тернарного оператораvar classify = (map[bool]string {true: "positive", false: "negative"})[n > 0]//classify is "negative"