You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data package should improve code-reuse by bundling together the SQL
operations into a common package. It will be marginally less efficient
than using SQL directly, but it will enforce best practices, remove
duplication and prevent mistakes from broken queries. #7 is the
associated issue.
To begin with, this updates termine to use the new package. It also
refactors termine a bit.
Fixes#3
* Add a package to abstract SQL operations
The data package should improve code-reuse by bundling together the SQL
operations into a common package. It will be marginally less efficient
than using SQL directly, but it will enforce best practices, remove
duplication and prevent mistakes from broken queries. #7 is the
associated issue.
To begin with, this updates termine to use the new package. It also
refactors termine a bit.
Fixes#3
sql.go sollte refactored werden, um http://github.com/jmoiron/sqlx zu verwenden. Ich würde vmtl. zwei Schritte vorschlagen:
Wir sollten auch das sql-CRUD in ein eigenes Paket auslagern, welches dann von allen commands gemeinsam genutzt werden kann.
The text was updated successfully, but these errors were encountered: