Code Monkey home page Code Monkey logo

rest's People

Contributors

jessta avatar kissaki avatar nathankerr avatar swoogan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rest's Issues

All methods require access to incoming http.Request

All method (GET, POST, PUT, and DELETE) need access to the incoming http.Request. Access to the request headers and the query string parameters is required for many implementations of the methods. For example, the 'Accept' header tells the service what content type to send back to the client. Additionally, content can be filtered by query string parameters.

Tests

Automated tests should be added.

goinstall is failing on github clone

I tried to execute "goinstall github.com/nathankerr/rest.go" on my Mac, and got the following error.

/usr/local/git/bin/git: === cd /; git clone http://github.com/nathankerr/rest.go.git /local/go/src/pkg/github.com/nathankerr/rest.go
Initialized empty Git repository in /local/go/src/pkg/github.com/nathankerr/rest.go/.git/
error: The requested URL returned error: 403 while accessing http://github.com/nathankerr/rest.go.git/info/refs

fatal: HTTP request failed
--- exit status 128
goinstall: github.com/nathankerr/rest.go: running git: exit status 128

Cannot close rest.Client

rest.NewClient() creates a new rest.Client, which opens a net.Conn. There is no method to close this connection.

Add a rest.Client.Close() method to close the connection.

goinstall problem

Hi,

I updated my go using weekly.
I am able to run the goinstall github.com/nathankerr/rest.go
But when I run the code using rest.go, I get the following error .

try.go:6: import /home/chinmay/NewGo/go//pkg/linux_amd64/github.com/nathankerr/rest.go.a: object is [linux amd64 release.r57.2 8306] expected [linux amd64 weekly.2011-07-07 9017]

Please help asap.

Does not compile with go r60 9481

I'm not entirely sure if this is an issue since I cannot determine what the current version of go is. This is the version I got when doing an 'apt-get install golang' on the latest Ubuntu. Most of the issues seem to surround the fact that the URL type has moved from the http package to the url package.

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.