зеркало из https://github.com/github/vitess-gh.git
test.go: Add a pseudo-shebang line.
This is not actually a shebang. Go doesn't support those. This hack only works when run from within a shell. The file gets treated as a shell script, and the first line replaces the process with an invocation of "go run".
This commit is contained in:
Родитель
3853058c1e
Коммит
f99c0422b1
|
@ -1,3 +1,5 @@
|
|||
///bin/true; exec /usr/bin/env go run "$0" "$@"
|
||||
|
||||
// Copyright 2015, Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
|
Загрузка…
Ссылка в новой задаче