{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":620891133,"defaultBranch":"main","name":"go-playground","ownerLogin":"timotheus90","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-03-29T15:14:41.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/119663824?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1682339760.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"62100df1a3644a85b0bef07ed712d3db3f002778","ref":"refs/heads/feature/package_level_variables","pushedAt":"2023-04-24T12:36:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"refactor: cleanup comments","shortMessageHtmlLink":"refactor: cleanup comments"}},{"before":null,"after":"1221f9fa91674be5a65fb146ab46c13b2deffb43","ref":"refs/heads/refactor/service_locator","pushedAt":"2023-04-24T12:33:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"refactor: extract service-locator.\n\n!DONT DO THIS! feels really overblown and makes everything unnecessary complex^^","shortMessageHtmlLink":"refactor: extract service-locator."}},{"before":null,"after":"c6e90bea1d3ec0028f3588805095a663f37245bd","ref":"refs/heads/refactor/Dependency_injection","pushedAt":"2023-04-22T06:57:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"refactor: This way, the handlers have access to the *gorm.DB instance through the CleaningTaskService struct, allowing us to utilize dependency injection to share the database connection among the handlers.","shortMessageHtmlLink":"refactor: This way, the handlers have access to the *gorm.DB instance…"}},{"before":null,"after":"e0ea293c201e25ea0e5464cfc906b4e650f026f4","ref":"refs/heads/refactor/functional_options","pushedAt":"2023-04-22T06:39:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"refactor: add some options to show how functional options pattern provides flexibility and makes it easy to extend the functionality without breaking existing code","shortMessageHtmlLink":"refactor: add some options to show how functional options pattern pro…"}},{"before":null,"after":"7ec567cbbff6fba68c7a81c3d74ea1eeae6a2b02","ref":"refs/heads/refactor/dependency_container","pushedAt":"2023-04-22T05:44:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"refactor: setup and use DependencyContainer, this centralize the management of dependencies","shortMessageHtmlLink":"refactor: setup and use DependencyContainer, this centralize the mana…"}},{"before":"619ebb0699f035dff7d19688656422367dc5e18c","after":"66144564aab1832983ad110d89a4db5e8ea946e5","ref":"refs/heads/main","pushedAt":"2023-04-01T20:44:10.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"fix: empty item might be included in result\n\nWhen you declare a slice with var cleaningTasks []models.CleaningTask, it initializes the slice to nil. A nil slice has a length and capacity of zero, and the underlying array is also nil.\n\nIt's important to note that a nil slice is functionally equivalent to an empty slice (i.e., a slice with length and capacity of zero but with a non-nil underlying array). In most cases, you can treat a nil slice as an empty slice when performing operations like len, cap, append, and iterating using a for loop.","shortMessageHtmlLink":"fix: empty item might be included in result"}},{"before":"213ba4a9d8089b93f9d78abe1577c55fd0e512d0","after":"619ebb0699f035dff7d19688656422367dc5e18c","ref":"refs/heads/main","pushedAt":"2023-03-30T08:52:15.557Z","pushType":"push","commitsCount":1,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"copy && setup cleaning-task pet project","shortMessageHtmlLink":"copy && setup cleaning-task pet project"}},{"before":null,"after":"213ba4a9d8089b93f9d78abe1577c55fd0e512d0","ref":"refs/heads/main","pushedAt":"2023-03-29T15:14:42.259Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"timotheus90","name":"Timo Gerth","path":"/timotheus90","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/119663824?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0yNFQxMjozNjowMC4wMDAwMDBazwAAAAMfAIRZ","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0yNFQxMjozNjowMC4wMDAwMDBazwAAAAMfAIRZ","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0yOVQxNToxNDo0Mi4yNTk5MTBazwAAAAMN57Gf"}},"title":"Activity · timotheus90/go-playground"}