Kenneth Shaw
f60ef38230
Fixes a concurrency issue with package path cache
...
The `chromedp-gen` tool, which makes use of the raw code, would
occassionally encounter a concurrent map write (on slow systems). This
adds a simple `sync.RWMutex` to the map causing problems.
2018-12-18 09:40:51 -07:00
Aleksandr Zelenin
e0ec68febc
go modules support
2018-08-23 03:47:26 +03:00
Vasily Romanov
0033ea3508
Merge branch 'master' into win-path
2018-07-24 01:17:34 +03:00
Irioth
48f134c461
#162 using default GOPATH for win and trim last newline character
2018-07-16 19:07:20 +03:00
Irioth
93f3cb8741
#162 use default GOPATH
...
annoying bug
2018-07-16 17:15:30 +03:00
Michael
fa2eed830e
refactor: remove CRLF
2018-06-06 15:56:57 +02:00
Kaur Kuut
ed82988ca1
Removed Windows path lower-case conversion.
2017-11-19 18:09:07 +02:00
Vasily Romanov
4d347d79de
Merge pull request #132 from jen20/default-gopath
...
Detect GOPATH if not specified in $GOPATH
2017-10-22 20:32:15 +03:00
James Nugent
0ee3591897
Detect GOPATH if not specified in $GOPATH
...
It is no longer required to have the GOPATH environment variable set -
it now defaults to ~/go, but irrespective of whether the value is the
default or not it can be found in the standard output of `go env
GOPATH`.
This commit uses that value if the GOPATH environment variable is not
set.
2017-07-28 15:13:56 -05:00
Dan Field
01d6457c01
Update parser_windows.go
...
Use filepath.IsAbs instead of path.IsAbs for Windows; convert paths to lowercase when normalizing them
2017-07-26 11:08:51 -04:00
Vasily Romanov
88c4f6c7a5
Revert "Updated getPkgPath to use package filepath instead of path"
2017-04-25 00:15:07 +03:00
flat20
837ced4047
Updated getPkgPath to use package filepath, rather than path. Fixes an issue with os.Getwd() returning a random letter case drive letter on Windows, making the working directory unequal to GOPATH.
2017-04-18 19:43:39 +01:00
IncSW
50c70457bb
fix parser for windows
2016-12-06 14:47:03 +03:00
hjusforgues
f8d1fd78de
Allow to process entire packages at once
2016-10-18 18:01:13 +07:00
Victor Starodub
5ba5887e4b
Allow generating marshalers for 'renamed' structs.
2016-05-05 15:38:18 +03:00
Connor Peet
6a66ca1770
Add support for Windows paths, fix file handling errors for Windows
2016-04-13 17:27:56 -04:00
Victor Starodub
41cf62ebbc
Fixes #4 : support GOPATH entries ending in '/'.
2016-04-01 23:50:00 +03:00
Victor Starodub
5d497db34c
Initial commit.
2016-02-28 03:16:29 +03:00