func (ws *Workspace) Settings() (*Settings, error) {
	if ws.settings != nil {
		return ws.settings, nil
	}
	return ws.LoadSettings()
}
Settings returns the settings of the workspace
package workspace
import (
	"io/ioutil"
	"os"
	"path/filepath"
	"github.com/BurntSushi/toml"
	"github.com/pkg/errors"
)
type Settings struct {
	GlobalFallback bool                     `toml:"global-fallback"`
	LocalInstalls  map[string]*localInstall `toml:"local-install"`
}
type localInstall struct {
	Path       string `toml:"path"`
	Persistent bool   `toml:"persistent"`
	Successful bool   `toml:"successful"`
	Bindfs     bool   `toml:"bindfs"`
}
func NewSettings() *Settings {
	return &Settings{
		LocalInstalls: make(map[string]*localInstall),
	}
}
func DefaultSettings() *Settings {
	settings := NewSettings()
	settings.GlobalFallback = true
	return settings
}
const settingsFile = "virtualgo.toml"