Imported project in git, removed bindata dependency
This commit is contained in:
		
							
								
								
									
										10
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								main.go
									
									
									
									
									
								
							@ -6,11 +6,15 @@ import (
 | 
			
		||||
	"net"
 | 
			
		||||
	"net/http"
 | 
			
		||||
	"os"
 | 
			
		||||
	"qurl/pages"
 | 
			
		||||
	"qurl/storage"
 | 
			
		||||
	"git.binarythought.com/cdramey/qurl/pages"
 | 
			
		||||
	"git.binarythought.com/cdramey/qurl/storage"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
//go:generate bindata -m Assets -r assets -p static -o static/assets.go assets
 | 
			
		||||
//go:generate go run ./togo -n Favicon_ico -i assets/favicon.ico -p static -o static/favicon_ico.go
 | 
			
		||||
//go:generate go run ./togo -n Index_html -i assets/index.html -p static -o static/index_html.go
 | 
			
		||||
//go:generate go run ./togo -n Qurl_css -i assets/qurl.css -p static -o static/qurl_css.go
 | 
			
		||||
//go:generate go run ./togo -n Submit_html -i assets/submit.html -p static -o static/submit_html.go
 | 
			
		||||
//go:generate go run ./togo -n Usage_html -i assets/usage.html -p static -o static/usage_html.go
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
	dburl := flag.String("u", "bolt:./qurl.db", "url to database")
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user