Giter VIP home page Giter VIP logo

Comments (7)

manucorporat avatar manucorporat commented on April 18, 2024

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.

al3xandru avatar al3xandru commented on April 18, 2024

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.

manucorporat avatar manucorporat commented on April 18, 2024

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.

manucorporat avatar manucorporat commented on April 18, 2024

Ok! sorry. try now,I think I fixed it:
d33dc38

from gin.

al3xandru avatar al3xandru commented on April 18, 2024

Fixed. Thanks.

from gin.

manucorporat avatar manucorporat commented on April 18, 2024

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.

al3xandru avatar al3xandru commented on April 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.