gh-ost/vendor/github.com/juju/errors/export_test.go

13 lines
322 B
Go
Raw Normal View History

2016-06-16 09:46:44 +00:00
// 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