Created
November 30, 2018 16:46
-
-
Save Bebbolus/18d1d140e3ac83725284d88b6e34c05b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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