It has been quiet around the Go Cells since some time. But it’s alive and in change. Currently it’s making good progress towards the new major version 6.0.0. One important change here is the introduction of Queues for the transportation of events. Right now there’s only one implementation using channels as before. But the idea is to add other ones for distributed cells later. And to achieve this also the Payload format had to be changed and some other in-memory techniques like Scene had to be removed.
Short time after the version 4.23.0 the 4.24.0 has been released. It’s a nice mix of different package extensions. The first one extends and fixes the audit test package. So Assertion now provides WaitTested() to run a user defined test function after receiving data on a signal channel out of a goroutine. So far only equality has been testable. Additionally Assertion now knows SetFailable() to pass the testing.T in a testing.
The new version 4.23.0 contains two major changes. First is the new package gjp, an acronym for Generic JSON Parser. Reason for it is the fact, that sometimes JSON documents aren’t very good representable by nested Go structures. Here Go allows to parse documents into empty interfaces. But these are inconvenient to handle too. The GJP encapsulates this way of parsing and provides access by pathes. Think of the following document parsed with myDoc, err := gjp.
Short time after verion 2.14.0 I had to release the version 2.15.0. Sadly it’s incompatible with its predecessor, but only with the new introduced Job method Path(). This now returns an instance of the type Path providing more detailed access to its parts. Beside getting these by index the Path now also contains accessors to Domain(), Resource(), and ResourceID(). The accessors provided by Job are now deprecated and will be removed at some time later when version 3 will be reased.
It contains two changes. The parts of a request path are now retrievable via Job.Part(index int) string. ResouceHandlers now can have methods better matching to REST than the standard methods. The mapping is POST to Create() GET to Read() PUT to Update() PATCH to Modify() DELETE to Delete() OPTION to Info() In case of a handler implementing both, e.g. Get() and Read(), the standard one will be taken. So here Get() due to the HTTP GET.
After being unhappy with the last approach to a Tideland web site I now decided to use Hugo as my page generator. This cute application written in Go provides a very good way to maintain the content in Markdown and use the standard Go templates. I’ll provide here some overviews over the Tideland projects together with blog entries about them. These are announcements, e.g. for new releases, news about plans, and information about the usage.