Skip to content

Commit

Permalink
fix(docker): fix air temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Caknoooo committed Jan 18, 2025
1 parent 4078a46 commit d05ea0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 42 deletions.
47 changes: 6 additions & 41 deletions .air.toml
Original file line number Diff line number Diff line change
@@ -1,46 +1,11 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"
tmp_dir = "docker/air/tmp"

[build]
args_bin = []
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ."
delay = 2000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "static"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = true
rerun_delay = 2000
send_interrupt = true
stop_on_error = true

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
bin = "docker/air/tmp/main"
cmd = "go build -o docker/air/tmp/main"
include_ext = ["go"]
exclude_dir = ["vendor", "tmp"]

[log]
main_only = false
time = false

[misc]
clean_on_exit = false

[screen]
clear_on_rebuild = false
keep_scroll = true
level = "debug"
2 changes: 1 addition & 1 deletion dto/user_dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type (
}

GetAllUserRepositoryResponse struct {
Users []entity.User
Users []entity.User `json:"users"`
PaginationResponse
}

Expand Down

0 comments on commit d05ea0a

Please sign in to comment.