File: export_test.go

package info (click to toggle)
golang-github-juju-errors 0.0~git20170703.0.c7d06af-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 168 kB
  • sloc: makefile: 10
file content (12 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
// 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