command
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 28, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Goplay
This is a command-line client for https://play.golang.org. It uses https://github.com/haya14busa/goplay API client under
the hood.
Key differences from https://github.com/haya14busa/goplay/tree/v1.0.0/cmd/goplay:
- added the
-endpoint
flag option
- the
-share
flag now defaults to false
- the
-openbrowser
flag now defaults to false
Example:
echo 'package main
import "fmt"
func main() {
fmt.Println("Hello, 世界")
}
' | goplay
Hint: China users can try goplay -endpoint https://golang.google.cn/_
.
Build from source
Trim path and strip symbols for a minimal build:
GO111MODULE=on go install -v -x -trimpath -ldflags="-s -w" github.com/imacks/goplay/cmd/goplay@v1.0.0
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.