Skip to content

Commit 7df81d6

Browse files
committed
changed some comments
1 parent 1688c4f commit 7df81d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/gorilla/mux"
1212
)
1313

14-
//Tag structure for your database
14+
//User Tag structure for your database
1515
type User struct {
1616
ID int `json:"id"`
1717
Name string `json:"name"`
@@ -37,7 +37,7 @@ func dbConn() (db *sql.DB) {
3737

3838
}
3939

40-
//View all the records
40+
//Index func to view all the records
4141
func Index(w http.ResponseWriter, r *http.Request) {
4242
w.Header().Set("Content-Type", "application/json")
4343
db := dbConn()

0 commit comments

Comments
 (0)