midr @ 04a10f2acd73d88f90433755bfbe667c5174acb5

ref: Rename snake case variable

My pythonic brain kicked in and I ended up naming a variable using snake
case.
 1diff --git a/controller/controller.go b/controller/controller.go
 2index 35523043805c32a61f14bca152bfb7c7e4c29f05..ffa89ce6ee06c6473aa5245a981b6122e3200e01 100644
 3--- a/controller/controller.go
 4+++ b/controller/controller.go
 5@@ -42,7 +42,7 @@ func CreateEntry(c *gin.Context) {
 6 	var entry db.YdlEntry
 7 	c.ShouldBind(&entry)
 8 	db.DB.Create(&entry)
 9-	spawnWorker(entry.Link, entry.Output_folder)
10+	spawnWorker(entry.Link, entry.OutputFolder)
11 	c.Redirect(http.StatusFound, "/")
12 }
13 
14diff --git a/db/model.go b/db/model.go
15index 309447221a083e086d32c36af7634043d5a3dc67..6f35cd0ac9fd2b4f496ba5ab26b167342ee23951 100644
16--- a/db/model.go
17+++ b/db/model.go
18@@ -4,8 +4,8 @@ import "gorm.io/gorm"
19 
20 type YdlEntry struct {
21 	gorm.Model
22-	Title         string
23-	Link          string
24-	Format        string
25-	Output_folder string
26+	Title        string
27+	Link         string
28+	Format       string
29+	OutputFolder string
30 }
31diff --git a/templates/entry.tmpl b/templates/entry.tmpl
32index dc5f2b6982b5687dbc2041e48b52fef59fdf9d7e..642b501f4d8617806408596d851b0434e4fd2035 100644
33--- a/templates/entry.tmpl
34+++ b/templates/entry.tmpl
35@@ -16,7 +16,7 @@     <input type="text" id="Link" name="Link" value="{{ .Link }}" placeholder="Paste a valid youtube-dl link" required>
36   </label>
37   <label for="output">
38     Output folder
39-    <input type="text" id="Output_folder" name="Output_folder" value="{{ .Output_folder }}" placeholder="Select a ralative folder" required>
40+    <input type="text" id="OutputFolder" name="OutputFolder" value="{{ .OutputFolder }}" placeholder="Select a ralative folder" required>
41   </label>
42   <button type="submit">Submit</button>
43 </form>
44diff --git a/templates/index.tmpl b/templates/index.tmpl
45index 1880b5f70be19992a54660748e3b8d886a711285..0b965f5cc095c9edcc98bf0ea70447aa2c092d0b 100644
46--- a/templates/index.tmpl
47+++ b/templates/index.tmpl
48@@ -14,7 +14,7 @@     {{ range . }}
49     <tr>
50       <td>{{ .ID }}</td>
51       <td>{{ .Link }}</td>
52-      <td>{{ .Output_folder }}</td>
53+      <td>{{ .OutputFolder }}</td>
54       <td>
55         <a href="entries/{{ .ID }}" >Edit</a>
56         </span>