You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							14 lines
						
					
					
						
							215 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							14 lines
						
					
					
						
							215 B
						
					
					
				
								package admin
							 | 
						|
								
							 | 
						|
								import (
							 | 
						|
									"embed"
							 | 
						|
									"io/fs"
							 | 
						|
								)
							 | 
						|
								
							 | 
						|
								//go:embed static/*
							 | 
						|
								var StaticFS embed.FS
							 | 
						|
								
							 | 
						|
								// GetStaticFS returns the embedded static filesystem
							 | 
						|
								func GetStaticFS() (fs.FS, error) {
							 | 
						|
									return fs.Sub(StaticFS, "static")
							 | 
						|
								}
							 |