12 lines
		
	
	
		
			144 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			144 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package nosurf
 | |
| 
 | |
| import (
 | |
| 	"net/http"
 | |
| 
 | |
| 	"github.com/justinas/nosurf"
 | |
| )
 | |
| 
 | |
| func NoSurf(next http.Handler) http.Handler {
 | |
| 	return nosurf.New(next)
 | |
| }
 |