-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from gopherdata/go1.11module
Go 1.11 module support
- Loading branch information
Showing
965 changed files
with
146 additions
and
332,961 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// +build !go1.11 | ||
|
||
// cause a compile error if Go compiler version < 1.11 | ||
|
||
package main | ||
|
||
var _ int = "error: Go >= 1.11 required to compile Gophernotes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The command `import` will write here import files for third-party | ||
packages if they are to be imported and statically linked into gophernotes. | ||
|
||
This is currently needed on Windows, *BSD, Android etc. (to be exact, | ||
as of Go 1.13 it's needed on all operating system except Linux and Mac OS X). | ||
|
||
It is safe to remove files in this directory, | ||
as long as you **keep at least** README.md and a_package.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package imports | ||
|
||
import ( | ||
"github.com/cosmos72/gomacro/base/paths" | ||
"github.com/cosmos72/gomacro/imports" | ||
) | ||
|
||
type PackageUnderlying = imports.PackageUnderlying | ||
|
||
type Package = imports.Package | ||
|
||
type PackageMap = imports.PackageMap | ||
|
||
// imports.Packages is a map, copying it only makes a reference | ||
// => Packages and imports.Packages are kept in sync automatically | ||
var Packages = imports.Packages | ||
|
||
// used to locate this package path via reflection | ||
type findMe struct{} | ||
|
||
func init() { | ||
// tell gomacro where to write import files | ||
paths.SymbolFromImportsPackage = findMe{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"argv": [ | ||
"gophernotes", | ||
"{connection_file}" | ||
], | ||
"display_name": "Go", | ||
"language": "go", | ||
"name": "go" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.