Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@
go.work

# Testdata directory
testdata/
testdata/

# temporary files
tmp/
2 changes: 1 addition & 1 deletion internal/healthcheck/handlers/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Handler struct {
}

func (h *Handler) Healthcheck(c *gin.Context) {
data := httphelpers.Envelope{
data := gin.H{
"status": "available",
"system_info": map[string]string{
"environment": h.Env,
Expand Down
92 changes: 0 additions & 92 deletions internal/helloworld/handlers/ginhelloworld.go

This file was deleted.

56 changes: 0 additions & 56 deletions internal/helloworld/logic/helloworld.go

This file was deleted.

7 changes: 0 additions & 7 deletions internal/helloworld/logicerrors/logicerrors.go

This file was deleted.

79 changes: 0 additions & 79 deletions internal/helloworld/repo/sqlxrepo.go

This file was deleted.

5 changes: 0 additions & 5 deletions internal/helloworld/repositoryerrors/repositoryerrors.go

This file was deleted.

2 changes: 0 additions & 2 deletions internal/models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package models

import "time"

// remove "db" tag if not using sqlx
// remove "gorm" tag if not using gorm
type User struct {
ID int64 `json:"id" db:"id" gorm:"primaryKey;autoIncrement"`
Name string `json:"name" db:"name" gorm:"uniqueIndex"`
Expand Down
Loading