Tags: antonPalmFolkmann/DevOps2022
Tags
Add golangci-lint (#185) * Add golangci-lint * Add work dir * Add wsl * Refactor golangci Proposed Changes * WIP Refactoring for golangci * test underscore * Add err check to user + message tests * Usercontroller err check * test code checks * More err checks * Remove helper method in user_controller test * add err check to message_service_test * Fix minor checks
Feature/implementing orm (#152) * Beginnings of introducing ORM to database. Co-authored-by: aHjelmgaard <[email protected]> * Finished CRUD for User class. Co-authored-by: aHjelmgaard <[email protected]> * Extracting to Controllers Co-authored-by: aHjelmgaard <[email protected]> Co-authored-by: Jakob <[email protected]> * Changing to Controller format. Co-authored-by: aHjelmgaard <[email protected]> Co-authored-by: Jakob <[email protected]> * Completed UserController and UserService. Co-authored-by: aHjelmgaard <[email protected]> * Finished migrating Message to database. * Minor edits in startup * Remove minitwitcopy.db * Refactor all Get<Model> to Use Struct Types * Make All Functions in Services Methods * Make All Files Conform to Naming Style * Make Folders Follow Naming Convention * Clean-up storage Package * Remove Models (Was Moved to schema.go) * Clean-up services Package * Format server.go * Auto-migration worked! * Make Dumps Fit New Schema * Make Restore Fit New Schema * Add Auto-migrating with Restore * Fix Types in Services based on Models * Remove Trailing Whitespace from Docker-compose * Rework Interfaces + Naming of Services * Minor fixes. Co-authored-by: aHjelmgaard <[email protected]> Co-authored-by: aHjelmgaard <[email protected]> Co-authored-by: Christoffer Gram <[email protected]>
Refactoring/templates (#123) * Refactored template methods to template package. Co-authored-by: aHjelmgaard <[email protected]> * Clean-up of template.go. * Minor cleaning for refactoring later. Co-authored-by: aHjelmgaard <[email protected]>
PreviousNext