13 lines
322 B
Go
13 lines
322 B
Go
|
// Copyright 2013, 2014 Canonical Ltd.
|
||
|
// Licensed under the LGPLv3, see LICENCE file for details.
|
||
|
|
||
|
package errors
|
||
|
|
||
|
// Since variables are declared before the init block, in order to get the goPath
|
||
|
// we need to return it rather than just reference it.
|
||
|
func GoPath() string {
|
||
|
return goPath
|
||
|
}
|
||
|
|
||
|
var TrimGoPath = trimGoPath
|