Coder Social home page Coder Social logo

gofigure's Introduction

Matt's GitHub stats

gofigure's People

Contributors

mattbaird avatar

Watchers

 avatar  avatar

gofigure's Issues

File not exists generates panic

If a filename doesn't exist in the directory, then the following error is generated:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x8139e18]

goroutine 1 [running]:
github.com/mattbaird/gofigure/config.(_ConfigFile).GetRawString(0x0, 0x8285fd8, 0x5, 0x8291454, 0xa, ...)
/usr/local/go/src/pkg/github.com/mattbaird/gofigure/config/get.go:90 +0xbe
github.com/mattbaird/gofigure/config.(_ConfigFile).GetString(0x0, 0x8285fd8, 0x5, 0x8291454, 0xa, ...)
/usr/local/go/src/pkg/github.com/mattbaird/gofigure/config/get.go:104 +0x4f
_/vagrant/webapp/util.NewConfigInformation(0x18900688, 0x189503e0)
/vagrant/webapp/util/configInformation.go:41 +0x1ee
_/vagrant/webapp/util.init()
/vagrant/webapp/util/redishelper.go:-388 +0x92
_/vagrant/webapp/user.init()
/vagrant/webapp/user/userwebhandler.go:18 +0x8d
main.init()
_/vagrant/webapp/user/_test/_testmain.go:20 +0x3c

goroutine 2 [syscall]:
created by runtime.main
/usr/local/go/src/pkg/runtime/proc.c:221

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.