mirror of
https://github.com/golang/go
synced 2024-11-05 16:26:11 -07:00
7db4ac6d26
Change-Id: Ie8232bf857b8a277abb789e3788a6b6e12048731 Reviewed-on: https://go-review.googlesource.com/c/tools/+/181938 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
17 lines
350 B
Go
17 lines
350 B
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !go1.12
|
|
|
|
package debug
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
)
|
|
|
|
func printBuildInfo(w io.Writer, verbose bool, mode PrintMode) {
|
|
fmt.Fprintf(w, "version %s, built in $GOPATH mode\n", Version)
|
|
}
|