Versions in this module Expand all Collapse all v0 v0.1.1 Jan 7, 2020 v0.1.0 Jan 7, 2020 Changes in this version + func GenerateEmbeddedPackage(targetDirPath, outputPath string) error + func GenerateSelfPackage(srcPath, outputPath string) error + func GoBuild(opt *BuildOption) (string, error) + func GoGet(getPath string) (string, error) + func PrintFs(fileSystem http.FileSystem) error + func RemoveContents(dir string) error + func WriteFs(fileSystem http.FileSystem, dst string) error + type BuildOption struct + Arch string + BuildPath string + OS string + OutputPath string + type Option struct + Dir string + Env []string + type Server struct + func New(port string) *Server + func (s *Server) AddApiHandler() error + func (s *Server) AddFileHandlerFromFs(fs http.FileSystem) error + func (s *Server) AddFileHandlerFromPath(rootPath string) error + func (s *Server) Start() error