Documentation ¶
Index ¶
- func ExecCommand(command string, args []string, dir string) []byte
- func Exists(path string) bool
- func ExtractVarsFromRequest(r *http.Request, varName string) string
- func GetPath(paths []string) string
- func MarshalAndRecord(object interface{}, dir string, fileName string) error
- func MkDir(path string) bool
- func ProvisionDataFromRequest(r *http.Request, object interface{}) error
- func ReadAndUnmarshal(object interface{}, dir string, fileName string) error
- func ReadFile(path string) (content []byte, err error)
- func WriteFile(path string, content []byte) error
- func WriteResponse(w http.ResponseWriter, code int, object interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalAndRecord ¶
func ReadAndUnmarshal ¶
func WriteResponse ¶
func WriteResponse(w http.ResponseWriter, code int, object interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.