flatten, use regexe parse

This commit is contained in:
Tyrel Souza 2022-10-17 14:56:36 -04:00
parent cdf77a095a
commit fa53ba313f
No known key found for this signature in database
GPG Key ID: F6582CF1308A2360
29 changed files with 8 additions and 4 deletions

View File

@ -3,7 +3,7 @@ Getting started in Python Part 1
:date: 2013-07-02 03:59
:author: tyrel
:category: Tech
:tags: python2, pip, virtualenv
:tags: python, pip, virtualenv
:slug: getting-started-in-python-part-1
:status: published

View File

@ -1,11 +1,9 @@
Comparing Go GORM and SQLX
##########################
:date: 2022-10-17 13:17
:author: tyrel
:category: Tech
:tags: go, sql, python
:slug: comparing-go-gorm-and-sqlx
:status: draft
:status: published
Django ORM - My History
~~~~~~~~~~~~~~~~~~~~~~~
@ -41,4 +39,10 @@ My Go history is building a CLI tool for the two last years of my `previous job.
I had never directly interacted with a database from Go yet.
I wanted to spin up a REST API (I chose Go+Gin for that based on forty five seconds of Googling) and talk to a database.
GORM
~~~~
Being that I come from the Django (and a few years of ActiveRecord) land, I reached immediately for an ORM, I chose GORM.
If you want to skip directly to the source, check out `https://gitea.tyrel.dev/tyrel/go-webservice-gin <https://gitea.tyrel.dev/tyrel/go-webservice-gin>`_.
Full design disclosure: I followed a couple of blog posts in order to develop this, so it is in the form explictly decided upon by the `logrocket blog post <https://blog.logrocket.com/how-to-build-a-rest-api-with-golang-using-gin-and-gorm/>`_ and may not be the most efficient way to organize the module.