Documentation ¶
Overview ¶
Package action provides functions for search of actions among methods of a package and checking whether they are actions with special meaning (such as Before or After) or just regular actions.
Index ¶
Constants ¶
View Source
const ( // Interface is an interface that should be implemented // by types that are being returned from actions. Interface = "Handler" // InterfaceImport is a GOPATH to the Handler interface that should be // implemented by types being returned from actions. InterfaceImport = "net/http" // MethodBefore is a name of the magic method that will be executed // before every action. MethodBefore = "Before" // MethodAfter is a name of the magic method that will be executed // after every action. MethodAfter = "After" )
Variables ¶
View Source
var StrconvContext = strconv.Context()
StrconvContext is a mapping of supported by strconv types and reflect functions.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.