<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go/lib/http/requestmethod_test.go, branch dev</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2024-03-08T18:10:24Z</updated>
<entry>
<title>lib/http: rename files for consistency</title>
<updated>2024-03-08T18:10:24Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-07T19:19:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=4e35c509a41cecb207bf6f52e7c9a529fa9f71fb'/>
<id>urn:sha1:4e35c509a41cecb207bf6f52e7c9a529fa9f71fb</id>
<content type='text'>
If the type is in CamelCase the file should be using snake_case.
</content>
</entry>
<entry>
<title>all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"</title>
<updated>2024-03-02T08:59:46Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-01T20:07:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=901c9803e6f93e0d5ee282f4061309022c46f490'/>
<id>urn:sha1:901c9803e6f93e0d5ee282f4061309022c46f490</id>
<content type='text'>
There are several reasons that why we move from github.com.

First, related to the name of package.
We accidentally name the package with "share" a common word in English
that does not reflect the content of repository.
By moving to other repository, we can rename it to better and unique
name, in this "pakakeh.go".
Pakakeh is Minang word for tools, and ".go" suffix indicate that the
repository related to Go programming language.

Second, supporting open source.
The new repository is hosted under sourcehut.org, the founder is known
to support open source, and all their services are licensed under AGPL,
unlike GitHub that are closed sources.

Third, regarding GitHub CoPilot.
The GitHub Terms of Service [1], allow any public content that are hosted
there granted them to parse the content.
On one side, GitHub helps and flourish the open source, but on another
side have an issues regarding scraping the copyleft license [2].

[1]: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#4-license-grant-to-us
[2]: https://githubcopilotinvestigation.com
</content>
</entry>
<entry>
<title>lib/http: realign all structs</title>
<updated>2021-12-25T18:53:30Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-12-25T18:53:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=d7f415e3d9fff5ba6427294b6d6ba8e555056b76'/>
<id>urn:sha1:d7f415e3d9fff5ba6427294b6d6ba8e555056b76</id>
<content type='text'>
Changes,

* Client: from 56 to 48 bytes (-8 bytes)
* CORSOptions: from 104 to 88 bytes (-16 bytes)
* Endpoint: from 64 to 32 bytes (-32 bytes)
* EndpointRequest: from 72 to 56 bytes (-16 bytes)
* route: from 56 to 32 bytes (-24 bytes)

Other changes is struct on unit tests.
</content>
</entry>
<entry>
<title>all: refactoring the test.Assert and test.AssertBench signature</title>
<updated>2021-03-14T15:40:05Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-03-14T15:37:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=e7552ad0189f761875bc1c2ca3dd716d43a01e0d'/>
<id>urn:sha1:e7552ad0189f761875bc1c2ca3dd716d43a01e0d</id>
<content type='text'>
Previously, the test.Assert and test.AssertBench functions has the
boolean parameter to print the stack trace of test in case its not equal.

Since this parameter is not mandatory and its usually always set to
"true", we remove them from function signature to simplify the call
to Assert and AssertBench.
</content>
</entry>
<entry>
<title>http: fix use of iota on list of RequestMethod</title>
<updated>2021-03-14T14:20:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-03-14T14:20:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=eacddcae5fcdec55b2225d95473d153543b5bea8'/>
<id>urn:sha1:eacddcae5fcdec55b2225d95473d153543b5bea8</id>
<content type='text'>
Using iota on the second list of constants does not start the iota value
from 0, but start from the current index of list.  In previous code,
the value of RequestMethodConnect is not "1 &lt;&lt; 0" or 1 but 2; this is
not what we expected, it should be 1.
</content>
</entry>
</feed>
