mirror of
https://github.com/golang/go
synced 2024-11-19 00:54:42 -07:00
44dd571771
Also log gopls version information on startup in server mode. Change-Id: If7bf85d19f993430709b1fae83083e6fdfe1b2ca Reviewed-on: https://go-review.googlesource.com/c/tools/+/175199 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
17 lines
352 B
Go
17 lines
352 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 lsp
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
)
|
|
|
|
func printBuildInfo(w io.Writer, verbose bool) {
|
|
fmt.Fprintf(w, "no module information, gopls not build with go 1.11 or earlier\n")
|
|
}
|