<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go/lib/net/html/example_node_iterator_test.go, branch main</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2024-03-08T18:10:17Z</updated>
<entry>
<title>lib: move package "net/html" to "lib/html"</title>
<updated>2024-03-08T18:10:17Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-05T20:42:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=e730418289d80985c5d48946353961a357a4b532'/>
<id>urn:sha1:e730418289d80985c5d48946353961a357a4b532</id>
<content type='text'>
Putting "html" under "net" package make no sense.
Another reason is to make the package flat under "lib/" directory.
</content>
</entry>
<entry>
<title>all: comply with linter recommendations #2</title>
<updated>2024-03-05T07:53:12Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-02T21:59:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=2fa7605727e90ca323b7b24168632e485d74c583'/>
<id>urn:sha1:2fa7605727e90ca323b7b24168632e485d74c583</id>
<content type='text'>
HTTP request now implicitly create request with context.

Any false positive related to not closing HTTP response body has been
annotated with "nolint:bodyclose".

In the example code, use consistent "// Output:" comment format, by
prefixing with single space.
Any comment on code now also prefixing with single space.

An error returned without variables now use [errors.New] instead of
[fmt.Errorf].
Any error returned using [fmt.Errorf] now wrapped using "%w" instead of
"%s".
Also, replace error checking using [errors.Is] or [errors.As], instead
of using equal/not-equal operator.

Any statement like "x = x OP y" now replaced with "x OP= y".
Also, swap statement is simplified using "x, y = y, x".
Any switch statement with single case now replaced with if-condition.

Any call to defer on function or program that call [os.Exit], now
replaced by calling the deferred function directly.

Any if-else condition now replaced with switch statement, if possible.
</content>
</entry>
<entry>
<title>all: update email address</title>
<updated>2020-06-10T15:41:22Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2020-06-10T15:41:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=9ca9757dc36412466f0103cb069ec0b7f051f657'/>
<id>urn:sha1:9ca9757dc36412466f0103cb069ec0b7f051f657</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: fix and suppress linter warnings</title>
<updated>2020-05-16T12:52:33Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2020-05-16T12:52:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=56c992b6d3597e37e5dbfd7bbd63b7f1311c8b8e'/>
<id>urn:sha1:56c992b6d3597e37e5dbfd7bbd63b7f1311c8b8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>html: add function to simplify iterating node in HTML tree</title>
<updated>2020-04-05T14:35:08Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2020-04-05T14:35:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=d34b820adf64514b5992dbbe5e22007af3ae53dd'/>
<id>urn:sha1:d34b820adf64514b5992dbbe5e22007af3ae53dd</id>
<content type='text'>
The NodeIterator have the method Next() that will return the first child
or the next sibling of current node, iteratively from top to bottom.
</content>
</entry>
</feed>
