<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ceres/database.go, branch step-re-ordering</title>
<subtitle>Recipe server for your favorite dishes</subtitle>
<id>https://cgit.xengineering.eu/ceres/atom/database.go?h=step-re-ordering</id>
<link rel='self' href='https://cgit.xengineering.eu/ceres/atom/database.go?h=step-re-ordering'/>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/'/>
<updated>2023-04-02T19:52:10Z</updated>
<entry>
<title>Switch from MariaDB to files</title>
<updated>2023-04-02T19:52:10Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-04-01T19:18:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=bae6e34c9119750b2cba2a2ce6d88e9f8c895900'/>
<id>urn:sha1:bae6e34c9119750b2cba2a2ce6d88e9f8c895900</id>
<content type='text'>
Using a database is way more complex (see the commit statistics of this
commit) than using files to store recipe data. Also administration and
usage is simpler.
</content>
</entry>
<entry>
<title>Remove most function-inline comments</title>
<updated>2023-02-11T17:31:50Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-02-11T17:31:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=a288826b924266ff4577003103ef49cf6bb5cc3c'/>
<id>urn:sha1:a288826b924266ff4577003103ef49cf6bb5cc3c</id>
<content type='text'>
Docstrings for functions are a good thing. But the inside of a function
should be written in a way that is self-explaining. Thus inline comments
are just extra stuff to maintain and read.
</content>
</entry>
<entry>
<title>Apply go fmt *.go</title>
<updated>2023-02-11T17:19:30Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-02-11T17:19:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=ced1e404bd762abb114321334a3812805dee7059'/>
<id>urn:sha1:ced1e404bd762abb114321334a3812805dee7059</id>
<content type='text'>
This auto-applies the recommended Go codestyle.
</content>
</entry>
<entry>
<title>Move shutdown code to main.go</title>
<updated>2023-02-11T17:17:01Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-02-11T17:17:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=05e3b3397c888807719d70af4ed3c73397d9374f'/>
<id>urn:sha1:05e3b3397c888807719d70af4ed3c73397d9374f</id>
<content type='text'>
This has nothing to do with the database. Because the db is now a global
pointer the shutdown code can live in main.go.
</content>
</entry>
<entry>
<title>Rework logging</title>
<updated>2023-02-11T17:06:52Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-02-11T17:06:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=4c36742ec8072e645f0b755cdf5e9582ac2a6887'/>
<id>urn:sha1:4c36742ec8072e645f0b755cdf5e9582ac2a6887</id>
<content type='text'>
Logging during a request is at the moment not really needed. Printing
the config to the log was a stupid idea too.
</content>
</entry>
<entry>
<title>Switch to global database pointer</title>
<updated>2023-02-11T12:46:45Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-02-11T12:46:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=6b52b4bbc81c64b29daff043b83e21c38f332052'/>
<id>urn:sha1:6b52b4bbc81c64b29daff043b83e21c38f332052</id>
<content type='text'>
Passing the database pointer around is a lot of text and has no benefit.
</content>
</entry>
<entry>
<title>Migrate database to global config struct</title>
<updated>2023-02-11T11:50:08Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-02-11T11:50:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=8e166f100697c5a497aa68349c20a6cb88b5503f'/>
<id>urn:sha1:8e166f100697c5a497aa68349c20a6cb88b5503f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move all sources to package main</title>
<updated>2023-02-08T20:01:27Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-02-08T19:53:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=f9a5140071703faf0c7515a05f52e69fdc1f11ba'/>
<id>urn:sha1:f9a5140071703faf0c7515a05f52e69fdc1f11ba</id>
<content type='text'>
This project is not so big that it needs multiple packages.
</content>
</entry>
</feed>
