Skip to content

Commit cf1917e

Browse files
author
alfiankan
authored
Merge pull request #1 from alfiankan/deepsource-fix-d4d0fc09
Types of function parameters can be combined
2 parents ef1d09e + 618a505 commit cf1917e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// download filell
10-
func DownloadFile(filepath string, url string) error {
10+
func DownloadFile(filepath, url string) error {
1111

1212
// Get the data
1313
resp, err := http.Get(url)

0 commit comments

Comments
 (0)