GithubHelp home page GithubHelp logo

go-helpers's Introduction

ProtoType Magic's Go Helper Functions!

Errors

  1. Disconnection

    ERROR :Closing Link: ec2-23-21-53-88.compute-1.amazonaws.com (Ping timeout: 265 seconds) 2012/04/30 18:08:27 conn.Read: EOF exit status 1

Solution: auto-reconnect

  1. False Type Assertion

Looks like JSON templates aren't just convenient, but can aid in correctness:

http: panic serving 50.57.128.197:45137: interface conversion: interface is nil, not map[string]interface {}
/usr/local/go/src/pkg/net/http/server.go:576 (0x46deed)
/tmp/bindist046461602/go/src/pkg/runtime/proc.c:1443 (0x41389b)
/tmp/bindist046461602/go/src/pkg/runtime/iface.c:297 (0x40ae62)
/tmp/bindist046461602/go/src/pkg/runtime/iface.c:285 (0x40adef)
/home/ubuntu/github_repos/go-helpers/ptm-gobot.go:572 (0x40415f)
webhookDataToGitCommit: head_commit := v.(map[string]interface{})
/home/ubuntu/github_repos/go-helpers/ptm-gobot.go:520 (0x40395a)
webhookHandler: commit := webhookDataToGitCommit(data)
/usr/local/go/src/pkg/net/http/server.go:690 (0x461f52)
/usr/local/go/src/pkg/net/http/server.go:924 (0x462dd4)
/usr/local/go/src/pkg/net/http/server.go:656 (0x461d65)
/tmp/bindist046461602/go/src/pkg/runtime/proc.c:271 (0x4119a1)

ptm-gobot.go TODO

  • Listen on GTalk for instructions

  • Listen via the command line for instructions

go-helpers's People

Contributors

elimisteve avatar ptm-gitbot avatar

Stargazers

 avatar

Watchers

Jim McGaw avatar  avatar James Cloos avatar  avatar  avatar

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.