aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-06-13 21:20:17 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-06-13 21:20:17 +0200
commit04a10f2acd73d88f90433755bfbe667c5174acb5 (patch)
tree34f1f911c12ac23383de6bb0ded154c7517d1dcd /db
parentf1fd665089dd6b0a1fa4fc72a64db3cbf0b6d5f5 (diff)
downloadmdir-04a10f2acd73d88f90433755bfbe667c5174acb5.tar.gz
mdir-04a10f2acd73d88f90433755bfbe667c5174acb5.tar.bz2
mdir-04a10f2acd73d88f90433755bfbe667c5174acb5.zip
ref: Rename snake case variable
My pythonic brain kicked in and I ended up naming a variable using snake case.
Diffstat (limited to 'db')
-rw-r--r--db/model.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/model.go b/db/model.go
index 3094472..6f35cd0 100644
--- a/db/model.go
+++ b/db/model.go
@@ -4,8 +4,8 @@ import "gorm.io/gorm"
type YdlEntry struct {
gorm.Model
- Title string
- Link string
- Format string
- Output_folder string
+ Title string
+ Link string
+ Format string
+ OutputFolder string
}