first commit
This commit is contained in:
		
							
								
								
									
										5
									
								
								configs/common.dev
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								configs/common.dev
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
package config
 | 
			
		||||
 | 
			
		||||
const PORT = ":3030"
 | 
			
		||||
const DATABASE_URL = "root:omHO7EEzHm52s9DlZD70P6KPKm2TbODC@tcp(db:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
 | 
			
		||||
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"
 | 
			
		||||
							
								
								
									
										7
									
								
								configs/common.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								configs/common.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
package config
 | 
			
		||||
 | 
			
		||||
const PORT = ":3030"
 | 
			
		||||
const DATABASE_URL = "root:sswha123@tcp(localhost:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
 | 
			
		||||
 | 
			
		||||
// const DATABASE_URL = "sqlite.db"
 | 
			
		||||
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"
 | 
			
		||||
							
								
								
									
										6
									
								
								configs/common.local
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								configs/common.local
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
package config
 | 
			
		||||
 | 
			
		||||
const PORT = ":3030"
 | 
			
		||||
const DATABASE_URL = "root:sswha123@tcp(localhost:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
 | 
			
		||||
//const DATABASE_URL = "sqlite.db"
 | 
			
		||||
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"
 | 
			
		||||
							
								
								
									
										5
									
								
								configs/common.prod
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								configs/common.prod
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
package config
 | 
			
		||||
 | 
			
		||||
const PORT = ":3030"
 | 
			
		||||
const DATABASE_URL = "root:omHO7EEzHm52s9DlZD70P6KPKm2TbODC@tcp(localhost:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
 | 
			
		||||
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"
 | 
			
		||||
		Reference in New Issue
	
	Block a user