Comments (5)
I'm trying to replicate the issue:
brettmorgan@brettmorgan-macbookpro2 ~/g/s/g/d/foo> go version
go version go1.6 darwin/amd64
brettmorgan@brettmorgan-macbookpro2 ~/g/s/g/d/foo> glide -v
glide version 0.9.3
brettmorgan@brettmorgan-macbookpro2 ~/g/s/g/d/foo> glide get googlemaps.github.io/maps
[INFO] Preparing to install 1 package.
[INFO] Importing googlemaps.github.io/maps
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for googlemaps.github.io/maps.
[INFO] Resolving imports
[INFO] Downloading dependencies. Please wait...
brettmorgan@brettmorgan-macbookpro2 ~/g/s/g/d/foo> glide install
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for googlemaps.github.io/maps.
[INFO] Downloading dependencies. Please wait...
[INFO] Setting references.
[INFO] Setting version for googlemaps.github.io/maps to be062c0cd6e27871cdd8b56e8dc40f7e47746b58.
brettmorgan@brettmorgan-macbookpro2 ~/g/s/g/d/foo> cat glide.lock
hash: ac5677b32e573cb3b69e553e13c904258db457740a6a3747556529179bf63d22
updated: 2016-03-22T19:01:24.619172706+11:00
imports:
- name: googlemaps.github.io/maps
version: be062c0cd6e27871cdd8b56e8dc40f7e47746b58
devImports: []
brettmorgan@brettmorgan-macbookpro2 ~/g/s/g/d/foo> glide update
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for googlemaps.github.io/maps.
[INFO] Resolving imports
[INFO] Downloading dependencies. Please wait...
[INFO] Setting references for remaining imports
[INFO] Project relies on 1 dependencies.
That all seems to work as intended. Can you re-try?
from google-maps-services-go.
Did you attempt to reproduce this issue using an empty package (i.e. no Go source files)? Glide examines import statements of the Go source files in the package, recursively pulling in dependencies.
I ran the commands you provided and indeed saw no problems. I then created a Go source file (main.go
) that imports the googlemaps.github.io/maps
package and got results similar to what I saw earlier:
skidder-air:googlemaps-glide-demo skidder$ ls -l
total 8
-rw-r--r-- 1 skidder staff 153 Mar 23 13:55 main.go
skidder-air:googlemaps-glide-demo skidder$ cat main.go
package main
import (
"googlemaps.github.io/maps"
)
func main() {
// Create a client to justify the import
maps.NewClient(maps.WithAPIKey("foo"))
}
skidder-air:googlemaps-glide-demo skidder$ glide create
[INFO] Generating a YAML configuration file and guessing the dependencies
[INFO] Attempting to import from other package managers (use --skip-import to skip)
[INFO] Found reference to googlemaps.github.io/maps
skidder-air:googlemaps-glide-demo skidder$ cat glide.yaml
package: github.com/skidder/googlemaps-glide-demo
import:
- package: googlemaps.github.io/maps
skidder-air:googlemaps-glide-demo skidder$ glide update
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for googlemaps.github.io/maps.
[INFO] Resolving imports
[INFO] Fetching golang.org/x/net/context into /Users/skidder/Projects/gopath/src/github.com/skidder/googlemaps-glide-demo/vendor
[INFO] Fetching updates for googlemaps.github.io/maps/internal.
[WARN] googlemaps.github.io/maps/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN] Unable to set verion on googlemaps.github.io/maps/internal to . Err: Cannot detect VCS
[INFO] Downloading dependencies. Please wait...
[INFO] Setting references for remaining imports
[ERROR] Failed to set version on googlemaps.github.io/maps/internal to : Cannot detect VCS
[INFO] Project relies on 3 dependencies.
An Error has occurred
from google-maps-services-go.
Not the cleanest work around, but I believe this now works as intended:
$ glide update
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for googlemaps.github.io/maps.
[INFO] Resolving imports
[INFO] Fetching golang.org/x/net/context into /Users/brettmorgan/go-workspace/src/github.com/domesticmouse/foo/vendor
[INFO] Fetching updates for googlemaps.github.io/maps/internal.
[WARN] googlemaps.github.io/maps/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[INFO] Downloading dependencies. Please wait...
[INFO] Setting references for remaining imports
[INFO] Project relies on 3 dependencies.
Above was with a project that had your main.go
in it. Thanks for the report!
from google-maps-services-go.
I confirmed that the redirect is working, thank you!
from google-maps-services-go.
Thank you for the confirmation =)
from google-maps-services-go.
Related Issues (20)
- Directions API: Unmarshal error in detecting Route.Legs as type string HOT 1
- Go Version typo in readme HOT 1
- metrics.Request receives an already drained *http.Response HOT 2
- Is there a way to set range for radius parameters? HOT 2
- googleMap Error: connect ECONNREFUSED 0.0.0.0:443 HOT 1
- maps.Client Automatic Retry? Exponential Backoff? HOT 1
- Static maps map_id parameter support HOT 2
- feat: add relative_time_description property to PlaceReview HOT 2
- Places Search has no json tag HOT 1
- ReverseGeocode: invalid character 'U' looking for beginning of value HOT 2
- Empty spaces in the README for the go get command HOT 2
- Client.PlaceDetails fails for ID ChIJUXcBoFD-nkcR3s74TnqlDHM HOT 5
- ParsePlaceSearchFieldMask missing case for 'business_status' HOT 2
- Address Validation API missing HOT 3
- Need extra "new line character" for few postalcodes to geolocate them HOT 1
- New APIs: Address Validation, Datasets, Fleet Engine, new Places API, Routes API
- Add support for Address Descriptors to Geocoding
- @chomsin HOT 1
- @chomsin HOT 1
- Come and see β€ππXπploypoli streaming live on #BIGOLIVE and make new friends! https://slink.bigovideo.tv/BuIBpW ---γ 1 @chomsin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-maps-services-go.