mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 15:04:00 +01:00 
			
		
		
		
	* Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
		
			
				
	
	
		
			14 lines
		
	
	
		
			459 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			459 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// assetfs allows packages to serve static content embedded
 | 
						|
// with the go-bindata tool with the standard net/http package.
 | 
						|
//
 | 
						|
// See https://github.com/jteeuwen/go-bindata for more information
 | 
						|
// about embedding binary data with go-bindata.
 | 
						|
//
 | 
						|
// Usage example, after running
 | 
						|
//    $ go-bindata data/...
 | 
						|
// use:
 | 
						|
//     http.Handle("/",
 | 
						|
//        http.FileServer(
 | 
						|
//        &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "data"}))
 | 
						|
package assetfs
 |