<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go, branch v0.58.0</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=v0.58.0</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=v0.58.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2024-10-06T11:42:16Z</updated>
<entry>
<title>Release pakakeh.go v0.58.0 (2024-10-06)</title>
<updated>2024-10-06T11:42:16Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-10-06T11:42:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=45b111af175b39a428fd33f277b83ca8284fcf2d'/>
<id>urn:sha1:45b111af175b39a428fd33f277b83ca8284fcf2d</id>
<content type='text'>
This release update the minimum Go module to 1.22.0, the last version
supported by Go tools.

=== Breaking changes

*  lib/http: remove writing StatusNoContent on ResponseTypeNode

   To make it consistent with RequestTypeNone, the ResponseTypeNone
   should not write any response header or HTTP status code. It will be
   handled manually by [Endpoint.Call].

=== New features

*  lib/play: new package for formatting and running Go code

   Package play provides callable APIs and HTTP handlers to format and
   run Go code, similar to Go playground, but using HTTP instead of
   WebSocket.

*  lib/http: add Server method to register handler by function

   The RegisterHandleFunc register a pattern with a handler, similar to
   [http.ServeMux.HandleFunc]. The pattern follow the Go 1.22 format:

   	[METHOD] PATH

   The METHOD is optional, default to GET. The PATH must not contains
   the domain name and space. Unlike standard library, variable in PATH
   is read using ":var" not "{var}". This endpoint will accept any
   content type and return the body as is; it is up to the handler to
   read and set the content type and the response headers.

   If the METHOD and/or PATH is already registered it will panic.

*  lib/bytes: add function AppendInt64 and AppendUint64

   The AppendInt64 append an int64 value into slice of byte. The
   AppendUint64 append an uint64 value into slice of byte.
</content>
</entry>
<entry>
<title>go.mod: update all dependencies</title>
<updated>2024-10-06T11:41:42Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-10-06T11:41:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=f2343c644b0cc8c239991709261f46ca194c6ba0'/>
<id>urn:sha1:f2343c644b0cc8c239991709261f46ca194c6ba0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/play: new package for formatting and running Go code</title>
<updated>2024-10-04T10:58:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-15T17:18:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=483594273683e1734bdab7e20086c4c66bcc5b44'/>
<id>urn:sha1:483594273683e1734bdab7e20086c4c66bcc5b44</id>
<content type='text'>
Package play provides callable APIs and HTTP handlers to format and run
Go code, similar to Go playground, but using HTTP instead of WebSocket.
</content>
</entry>
<entry>
<title>lib/http: add Server method to register handler by function</title>
<updated>2024-09-30T16:04:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-26T17:25:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=69966b7be999223dc7a1ab0c5a3339010e11433c'/>
<id>urn:sha1:69966b7be999223dc7a1ab0c5a3339010e11433c</id>
<content type='text'>
The RegisterHandleFunc register a pattern with a handler, similar to
[http.ServeMux.HandleFunc].
The pattern follow the Go 1.22 format:

	[METHOD] PATH

The METHOD is optional, default to GET.
The PATH must not contains the domain name and space.
Unlike standard library, variable in PATH is read using ":var" not
"{var}".
This endpoint will accept any content type and return the body as is;
it is up to the handler to read and set the content type and the response
headers.

If the METHOD and/or PATH is already registered it will panic.
</content>
</entry>
<entry>
<title>lib/http: remove writing StatusNoContent on ResponseTypeNode</title>
<updated>2024-09-30T16:04:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-26T17:19:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=a0f3864d5dc77e8fb496fc88fd48a6a7869ef000'/>
<id>urn:sha1:a0f3864d5dc77e8fb496fc88fd48a6a7869ef000</id>
<content type='text'>
To make consistent with RequestTypeNone, the
ResponseTypeNone should not write any response header or
HTTP status code.
It will be handled manually by [Endpoint.Call].
</content>
</entry>
<entry>
<title>lib/bytes: add function AppendInt64 and AppendUint64</title>
<updated>2024-09-30T16:04:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-25T16:57:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=04ab5cfb262c8dbdadf2090bde99506ff2eac5a9'/>
<id>urn:sha1:04ab5cfb262c8dbdadf2090bde99506ff2eac5a9</id>
<content type='text'>
The AppendInt64 append an int64 value into slice of byte.
The AppendUint64 append an uint64 value into slice of byte.
</content>
</entry>
<entry>
<title>go.mod: update module to v1.22.0</title>
<updated>2024-09-30T16:04:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-16T17:48:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=accefcac3be38899a6f05d8eefec8ac8f11a8ddd'/>
<id>urn:sha1:accefcac3be38899a6f05d8eefec8ac8f11a8ddd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: simplify some statements</title>
<updated>2024-09-30T16:04:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-13T16:46:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=3885fd871caae07e21e81510b08cced53fe2aa16'/>
<id>urn:sha1:3885fd871caae07e21e81510b08cced53fe2aa16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: initialize SPDX license</title>
<updated>2024-09-13T16:42:26Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-13T16:42:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=5c85fd97215ec1c60ad8484e69af6817aca29bd5'/>
<id>urn:sha1:5c85fd97215ec1c60ad8484e69af6817aca29bd5</id>
<content type='text'>
From now on, any new or changes to files will use SDPX license format
in the file header.
</content>
</entry>
<entry>
<title>all: replace golangci-lint with 'got vet'</title>
<updated>2024-09-13T16:37:32Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T07:16:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=46839cdf43dacb579d8a4b8b442c6ab369361852'/>
<id>urn:sha1:46839cdf43dacb579d8a4b8b442c6ab369361852</id>
<content type='text'>
This is the second time the golangci-lint does not work using go tip.
We also found that running golangci-lint on VM with 8GB cause the program
crash with out of memory.
</content>
</entry>
</feed>
