File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func main() {
2626 serverAddr := flag .String ("serverAddr" , "" , "HTTP server network address" )
2727 serverPort := flag .Int ("serverPort" , 4000 , "HTTP server network port" )
2828 mongoURI := flag .String ("mongoURI" , "mongodb://localhost:27017" , "Database hostname url" )
29- mongoDatabse := flag .String ("mongoDatabse " , "bookings" , "Database name" )
29+ mongoDatabase := flag .String ("mongoDatabase " , "bookings" , "Database name" )
3030 enableCredentials := flag .Bool ("enableCredentials" , false , "Enable the use of credentials for mongo connection" )
3131 flag .Parse ()
3232
@@ -69,7 +69,7 @@ func main() {
6969 infoLog : infoLog ,
7070 errorLog : errLog ,
7171 bookings : & mongodb.BookingModel {
72- C : client .Database (* mongoDatabse ).Collection ("bookings" ),
72+ C : client .Database (* mongoDatabase ).Collection ("bookings" ),
7373 },
7474 }
7575
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func main() {
2626 serverAddr := flag .String ("serverAddr" , "" , "HTTP server network address" )
2727 serverPort := flag .Int ("serverPort" , 4000 , "HTTP server network port" )
2828 mongoURI := flag .String ("mongoURI" , "mongodb://localhost:27017" , "Database hostname url" )
29- mongoDatabse := flag .String ("mongoDatabse " , "movies" , "Database name" )
29+ mongoDatabase := flag .String ("mongoDatabase " , "movies" , "Database name" )
3030 enableCredentials := flag .Bool ("enableCredentials" , false , "Enable the use of credentials for mongo connection" )
3131 flag .Parse ()
3232
@@ -69,7 +69,7 @@ func main() {
6969 infoLog : infoLog ,
7070 errorLog : errLog ,
7171 movies : & mongodb.MovieModel {
72- C : client .Database (* mongoDatabse ).Collection ("movies" ),
72+ C : client .Database (* mongoDatabase ).Collection ("movies" ),
7373 },
7474 }
7575
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func main() {
2626 serverAddr := flag .String ("serverAddr" , "" , "HTTP server network address" )
2727 serverPort := flag .Int ("serverPort" , 4000 , "HTTP server network port" )
2828 mongoURI := flag .String ("mongoURI" , "mongodb://localhost:27017" , "Database hostname url" )
29- mongoDatabse := flag .String ("mongoDatabse " , "showtimes" , "Database name" )
29+ mongoDatabase := flag .String ("mongoDatabase " , "showtimes" , "Database name" )
3030 enableCredentials := flag .Bool ("enableCredentials" , false , "Enable the use of credentials for mongo connection" )
3131 flag .Parse ()
3232
@@ -69,7 +69,7 @@ func main() {
6969 infoLog : infoLog ,
7070 errorLog : errLog ,
7171 showtimes : & mongodb.ShowTimeModel {
72- C : client .Database (* mongoDatabse ).Collection ("showtimes" ),
72+ C : client .Database (* mongoDatabase ).Collection ("showtimes" ),
7373 },
7474 }
7575
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func main() {
2626 serverAddr := flag .String ("serverAddr" , "" , "HTTP server network address" )
2727 serverPort := flag .Int ("serverPort" , 4000 , "HTTP server network port" )
2828 mongoURI := flag .String ("mongoURI" , "mongodb://localhost:27017" , "Database hostname url" )
29- mongoDatabse := flag .String ("mongoDatabse " , "users" , "Database name" )
29+ mongoDatabase := flag .String ("mongoDatabase " , "users" , "Database name" )
3030 enableCredentials := flag .Bool ("enableCredentials" , false , "Enable the use of credentials for mongo connection" )
3131 flag .Parse ()
3232
@@ -69,7 +69,7 @@ func main() {
6969 infoLog : infoLog ,
7070 errorLog : errLog ,
7171 users : & mongodb.UserModel {
72- C : client .Database (* mongoDatabse ).Collection ("users" ),
72+ C : client .Database (* mongoDatabase ).Collection ("users" ),
7373 },
7474 }
7575
You can’t perform that action at this time.
0 commit comments