<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sliderule.git/router_test.go, branch v1.6.4</title>
<subtitle>The small web toolkit for Go
</subtitle>
<id>https://code.tjp.lol/sliderule.git/atom?h=v1.6.4</id>
<link rel='self' href='https://code.tjp.lol/sliderule.git/atom?h=v1.6.4'/>
<link rel='alternate' type='text/html' href='https://code.tjp.lol/sliderule.git/'/>
<updated>2023-05-02T14:56:10Z</updated>
<entry>
<title>fix tests and examples to match the router.Handler() change</title>
<updated>2023-05-02T14:56:10Z</updated>
<author>
<name>tjpcc</name>
<email>tjp@ctrl-c.club</email>
</author>
<published>2023-05-02T14:56:10Z</published>
<link rel='alternate' type='text/html' href='https://code.tjp.lol/sliderule.git/commit/?id=33d0199bbeb068a45a411c5f8dba77f6574656ad'/>
<id>urn:sha1:33d0199bbeb068a45a411c5f8dba77f6574656ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>name change gus -&gt; sliderule</title>
<updated>2023-05-01T13:56:25Z</updated>
<author>
<name>tjpcc</name>
<email>tjp@ctrl-c.club</email>
</author>
<published>2023-05-01T13:56:25Z</published>
<link rel='alternate' type='text/html' href='https://code.tjp.lol/sliderule.git/commit/?id=9a2da81b11ad0064cca24ce7974827d032309369'/>
<id>urn:sha1:9a2da81b11ad0064cca24ce7974827d032309369</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch Handler to an interface.</title>
<updated>2023-02-15T23:44:29Z</updated>
<author>
<name>tjpcc</name>
<email>tjp@ctrl-c.club</email>
</author>
<published>2023-02-15T23:44:29Z</published>
<link rel='alternate' type='text/html' href='https://code.tjp.lol/sliderule.git/commit/?id=46ad450327111b9d28b592658d75ef57da498298'/>
<id>urn:sha1:46ad450327111b9d28b592658d75ef57da498298</id>
<content type='text'>
HandlerFunc is much better as a function returning a Handler, rather
than a newtype for the function type itself. This way there is no
confusion creating a type-inferenced variable with HandlerFunc(func(...
and then using a HandlerFunc where a Handler is expected. Much better to
only have one public type.
</content>
</entry>
<entry>
<title>Router improvements.</title>
<updated>2023-02-15T03:13:25Z</updated>
<author>
<name>tjpcc</name>
<email>tjp@ctrl-c.club</email>
</author>
<published>2023-02-15T03:10:57Z</published>
<link rel='alternate' type='text/html' href='https://code.tjp.lol/sliderule.git/commit/?id=fcf545c27c70fb795a631a42738c486c07092e83'/>
<id>urn:sha1:fcf545c27c70fb795a631a42738c486c07092e83</id>
<content type='text'>
- test coverage for Router, not just PathTree
- Router.Mount() now flattens routes into the parent router
- Router.Use() implemented to set middleware on a router itself
</content>
</entry>
</feed>
