Skip to content

Instantly share code, notes, and snippets.

@Bebbolus
Created November 30, 2018 16:46
Show Gist options
  • Save Bebbolus/18d1d140e3ac83725284d88b6e34c05b to your computer and use it in GitHub Desktop.
Save Bebbolus/18d1d140e3ac83725284d88b6e34c05b to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"net/http"
)
type controller string
func (h controller) Fire(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello FROM CONTROLLER PLUGIN!!!")
}
// Controller exported namevar
Controller controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment