Commit Graph

468 Commits (a9487aae55e6fb3b5d4751d1bf9582a93b617146)

Author SHA1 Message Date
Vinícius Garcia 3f888e0420 Add tests to Update() 2020-09-22 22:15:03 -03:00
Vinícius Garcia d77fd7d679 Add func UpdateStructWith() for facilitating mocking this ORM 2020-09-22 21:07:03 -03:00
Vinícius Garcia 7b30856248 Rename go mod project 2020-09-22 16:59:04 -03:00
Vinícius Garcia 80fad8ac3f Add ChangeTable function 2020-09-16 18:26:00 -03:00
Vinícius Garcia a5ee2458ec Fix lint problems 2020-09-14 15:55:54 -03:00
Vinícius Garcia 120006008d Rename .go files to be more generic 2020-09-14 15:46:50 -03:00
Vinícius Garcia a3af26e3bd Update NewClient to actually work 2020-09-14 15:45:35 -03:00
Vinícius Garcia 06a7e37d0e Update Delete function to receive ids 2020-09-14 15:13:54 -03:00
Vinícius Garcia 8e8a9a7309 Add tests to StructToMap() 2020-09-14 12:02:05 -03:00
Vinícius Garcia bb3b36c21e Add first implementation of the Update operation 2020-09-12 03:07:35 -03:00
Vinícius Garcia e7a7b13eef Add slices/ helper pkg 2020-09-11 19:48:32 -03:00
Vinícius Garcia fbb7d9ffca Add GetByID() 2020-09-11 19:48:13 -03:00
Vinícius Garcia 25e00fdad6 Add feature of escaping params to Find function
This change was made based on a suggestion from
Raí Tamarindo (raitamarindo@gmail.com)
2020-09-11 19:06:53 -03:00
Vinícius Garcia 387c2cdd74 Rename the Get function to Find
This change was made based on a suggestion from
Raí Tamarindo (raitamarindo@gmail.com)
2020-09-11 19:03:15 -03:00
Vinícius Garcia 67cedb1f81 Add delete operation 2020-09-11 18:59:55 -03:00
Vinícius Garcia 4e156b8f26 Add Makefile 2020-09-11 18:48:48 -03:00
Vinícius Garcia 38ce8a9b0e Remove unnecessary use of reflection 2020-09-11 18:48:29 -03:00
Vinícius Garcia 2f651581ea Initial version
This code was first developed on another repo before we decided
to move it a separated repository.
2020-09-11 18:37:41 -03:00