View definition

(*User).GetWorkspace

Defined in github.com/b3log/wide/conf/user.go

Description

GetWorkspace gets workspace path of the user.

Compared to the use of Wide.Workspace, this function will be processed as follows:

1. Replace {WD} variable with the actual directory path
2. Replace ${GOPATH} with enviorment variable GOPATH
3. Replace "/" with "\\" (Windows)

GetWorkspace is referenced in 1 repository

github.com/b3log/wide