Cookoo 1.2.0 Released

Cookoo, a chain-of-command framework for Go, has recently picked up active development again and with that comes the 1.2.0 release. Version 1.2.0 brings numerous bug fixes and new features.

Chief among the new features is a new syntax for defining routes that’s similar to cli.go. With this new syntax you can define routes like:

reg, router, cxt := Cookoo()
    Name: "test",
    Does: Tasks{
            Name: "cmdDef",
            Def:  &mystruct{},
            Using: []Param{
                {Name: "funty", DefaultValue: 5},
                {Name: "StrField", DefaultValue: "Batty"},

In addition to this feature additions include:

  • Improvements to the way CLI arguments are handled and the way CLI applications can be created.
  • @shutdown route for the web server.
  • safely.GoDo - The safely sub-package helps you run goroutines while handling panics on them.
  • A new getter interface.
  • Several more you can read in the release announcement.