All of my important config files
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.
 
 
 
 

19 lines
375 B

snippet middleware
options head
func ${1}(w http.ResponseWriter, r *http.Request, next http.HandlerFunc) {
${2}
next(w, r
}
snippet handler
options head
func ${1}(w http.ResponseWriter, r *http.Request) {
${2}
}
snippet method
abbr meth
options head
func (${1}) ${2}(${3}) ${4}{
${5}
}