<feed xmlns='http://www.w3.org/2005/Atom'>
<title>finserv/main.go, branch v0.1.0</title>
<subtitle>Personal finances server</subtitle>
<id>https://cgit.xengineering.eu/finserv/atom?h=v0.1.0</id>
<link rel='self' href='https://cgit.xengineering.eu/finserv/atom?h=v0.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/'/>
<updated>2026-05-24T09:44:01Z</updated>
<entry>
<title>Add missing `.` to log messages</title>
<updated>2026-05-24T09:44:01Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-24T09:43:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=2b37d7902daa6e2a9c2284fd3dccb19429ecbd11'/>
<id>urn:sha1:2b37d7902daa6e2a9c2284fd3dccb19429ecbd11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable log timestamps</title>
<updated>2026-05-24T09:31:00Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-24T09:31:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=1d0f96aaacd7d8853a1aa970b01560c92c4da86b'/>
<id>urn:sha1:1d0f96aaacd7d8853a1aa970b01560c92c4da86b</id>
<content type='text'>
Many logging systems provide timestamps on their own. To avoid
duplication it is disabled by default.
</content>
</entry>
<entry>
<title>Split run() arguments into multiple lines</title>
<updated>2026-05-23T19:28:29Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T19:24:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=e810ccb3c96513a307cdec2c54bbb4db876ca2a5'/>
<id>urn:sha1:e810ccb3c96513a307cdec2c54bbb4db876ca2a5</id>
<content type='text'>
One line per argument makes the code more readable and also diffs in
case arguments are changed.
</content>
</entry>
<entry>
<title>Run go fmt</title>
<updated>2026-05-23T19:23:45Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T19:23:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=031df7224dbad7f727a7338dfddb72832c8927f0'/>
<id>urn:sha1:031df7224dbad7f727a7338dfddb72832c8927f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make run fully configurable</title>
<updated>2026-05-23T19:22:35Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T19:22:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=c6f5cf08563fed28c3cdcf79b0136a4038a02242'/>
<id>urn:sha1:c6f5cf08563fed28c3cdcf79b0136a4038a02242</id>
<content type='text'>
This makes the run() function compared to main() useful at all since all
parameters can be changed to test e.g. with unit tests.
</content>
</entry>
<entry>
<title>Add handlers.go</title>
<updated>2026-05-23T19:20:13Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T19:15:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=1307addddf61c7f811e8f4d360e2368ec7b4b2da'/>
<id>urn:sha1:1307addddf61c7f811e8f4d360e2368ec7b4b2da</id>
<content type='text'>
This keeps the HTTP handlers in a separate file which registers the
routes in an init() function.

The main execution flow is still maintained in a now minimal main.go.
</content>
</entry>
<entry>
<title>Rename srv to server</title>
<updated>2026-05-23T19:13:39Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T19:13:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=15e9fcbb0cf96e087a5c7cd6fe581c368af9b32a'/>
<id>urn:sha1:15e9fcbb0cf96e087a5c7cd6fe581c368af9b32a</id>
<content type='text'>
This improves readability.
</content>
</entry>
<entry>
<title>Register routes with init()</title>
<updated>2026-05-23T19:13:32Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T19:10:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=f04beb522bef25df6ceb10ade891642034ae994a'/>
<id>urn:sha1:f04beb522bef25df6ceb10ade891642034ae994a</id>
<content type='text'>
This makes the used *mux.Router from github.com/gorilla/mux a global
variable.

A new router is created in the line where the global variable is
created. Handlers can be added across the code base in init() functions.
</content>
</entry>
<entry>
<title>Add /version</title>
<updated>2026-05-23T18:58:14Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T18:58:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=acb75b87dc7dd2cfb031da14356f9e52afe70320'/>
<id>urn:sha1:acb75b87dc7dd2cfb031da14356f9e52afe70320</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Log HTTP URL</title>
<updated>2026-05-23T18:52:55Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-23T18:52:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=632a3e6316ab204bdcf44593bbeca5a5692d823d'/>
<id>urn:sha1:632a3e6316ab204bdcf44593bbeca5a5692d823d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix stop message</title>
<updated>2026-05-21T18:54:59Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-21T18:54:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=bfabcbed8d15918c698035c3792533d31b756e5d'/>
<id>urn:sha1:bfabcbed8d15918c698035c3792533d31b756e5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add HTTP-based hello world</title>
<updated>2026-05-21T18:51:23Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-21T18:51:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=242fa643db458663479a2fe3f1c757b5bf05cb5d'/>
<id>urn:sha1:242fa643db458663479a2fe3f1c757b5bf05cb5d</id>
<content type='text'>
This demonstrates the HTTP server is working.
</content>
</entry>
<entry>
<title>Log start and stop of server</title>
<updated>2026-05-21T18:35:30Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-21T18:35:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=5c4d0f87c377b8ffcb2ab588c14df6d86831dc50'/>
<id>urn:sha1:5c4d0f87c377b8ffcb2ab588c14df6d86831dc50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce run() function</title>
<updated>2026-05-21T18:34:38Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-21T18:34:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=c124c756d32042d36ef5c8673d27a3bc21a379ed'/>
<id>urn:sha1:c124c756d32042d36ef5c8673d27a3bc21a379ed</id>
<content type='text'>
This function should be called by main but can also be called by a unit
test to run a server which might have different arguments which will
likely be added.
</content>
</entry>
<entry>
<title>Add Go hello world program</title>
<updated>2026-05-21T18:27:44Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-05-21T18:27:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/finserv/commit/?id=a376e036bbb51599d4611735fafbfe99d53d6e4c'/>
<id>urn:sha1:a376e036bbb51599d4611735fafbfe99d53d6e4c</id>
<content type='text'>
This is a starting point to build the server.
</content>
</entry>
</feed>
