Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrVenvDoNotExist = errors.New("venv do not exist")
)
error variables block
Functions ¶
func CreateGoEnvironment ¶
CreateGoEnvironment runs go mod tidy and create .gitignore
Types ¶
type PythonVenvMgr ¶
type PythonVenvMgr struct {
// contains filtered or unexported fields
}
PythonVenvMgr manages creating, deleting, activating and deactiving virtual environments
func NewPythonVenvMgr ¶
func NewPythonVenvMgr() PythonVenvMgr
NewPythonVenvMgr is a PythonVenvMgr constructor
func (PythonVenvMgr) Activate ¶
func (p PythonVenvMgr) Activate() (string, error)
Activate activates venv
func (PythonVenvMgr) Create ¶
func (p PythonVenvMgr) Create(directory string) error
Create creates a venv
func (PythonVenvMgr) Deactivate ¶
func (p PythonVenvMgr) Deactivate() string
Deactivate deactivates venv
Click to show internal directories.
Click to hide internal directories.