Comments (7)
sounds like "github.com/gin-gonic/gin/binding" doesn't exist in your local repo?
I just tried to compile the app_engine branch and it works for me.
Can you do this:
go get -u github.com/gin-gonic/gin/binding
and then: inside the repo:
git checkout app_engine
from gin.
That seemed to work, but now I see another 4 errors:
2014/07/13 01:31:57 go-app-builder: Failed parsing input (4 errors)
2014/07/13 01:31:57 /Users/apopescu/Dropbox/workspace/golang/sportscal/src/github.com/gin-gonic/gin/gin.go:93:15: composite struct literal encoding/xml.Name with unkeyed fields
2014/07/13 01:31:57 /Users/apopescu/Dropbox/workspace/golang/sportscal/src/github.com/gin-gonic/gin/gin.go:98:11: composite struct literal encoding/xml.StartElement with unkeyed fields
2014/07/13 01:31:57 /Users/apopescu/Dropbox/workspace/golang/sportscal/src/github.com/gin-gonic/gin/gin.go:99:4: composite struct literal encoding/xml.Name with unkeyed fields
2014/07/13 01:31:57 /Users/apopescu/Dropbox/workspace/golang/sportscal/src/github.com/gin-gonic/gin/gin.go:106:26: composite struct literal encoding/xml.EndElement with unkeyed fields
from gin.
http://grokbase.com/t/gg/golang-nuts/143ysnmgaz/go-nuts-unkeyed-fields
It's not new. App Engine has been rejecting app code using unkeyed
composite struct literals since early 2012. The issue is that App
Engine wants to accept correct Go code at time T, but then still be
able to recompile it at time T+n, even if the language or standard
libraries have evolved in a backward-compatible way between those two
points in time. For that reason, it is in general strongly recommended
to use keyed composite struct literals in Go code that references
types in other packages, and we enforce that recommendation on App
Engine.
Sounds like the app-engine compiler is different?
from gin.
Ok! sorry. try now,I think I fixed it:
d33dc38
from gin.
Fixed. Thanks.
from gin.
ok, I am still testing it and other big changes, like the new flexible render.
I will merge it in master very soon!
from gin.
Master is 1.3 and I'll have to wait for GAE to support it before being able to give it a try.
from gin.
Related Issues (20)
- Attach Response Headers (or middlewares) to redirected requests (CORS issues) HOT 1
- Should context.GetRawData() also copy body to BodyBytesKey? HOT 3
- YAML BindBody should not parse JSON content HOT 1
- Gin do not support javascript ? HOT 5
- Does gin.Recovery() run before or after Group middleware? HOT 1
- How can i prevent a http connection to close HOT 3
- BasicAuth is not suitable for proxy auth
- Can't get status as expected from context.Status() HOT 1
- Gin Context implementation breaks context.Context contract HOT 3
- [Suggestions] Introducing an AI-powered robot to assist with daily issue and pull request (PR) tasks.
- Need c.JSON() response like behaviour for c.SSEvent() response for supporting first party clients like OpenAI SDK HOT 2
- custom time.Time type can not use bindQuery get a value. HOT 3
- configure server parameters HOT 1
- The binding:"required" tag does not seem to work for struct types HOT 3
- Is there a way to preserve order in JSON on response? HOT 1
- redirect is not success HOT 1
- I want to use shouldmindbodywith first and then use formafile, but it doesn't work right now HOT 3
- Extend the routing tree entry
- Transparent decompression for gzip, deflate, etc? HOT 1
- Custom time.Time type can not use bindQuery get a value 2 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 gin.