Code Monkey home page Code Monkey logo

igo's People

Contributors

propersam avatar rocketlaunchr-cto 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

igo's Issues

TODO:

  1. Update copyright
  2. Implement negative indexing
  3. Implement fordefer go
  4. Fix: must will panic upon encountering an error. to fn returning an error
  5. igofmt -s=> Run gofmt -s after transpiling
  6. fancy range functionality
  7. -f flash to go build to auto format

Weird

Having this in an igo file:

func (db *DB) BeginTx(ctx context.Context, opts *stdSql.TxOptions) (*stdSql.Tx, error)
func (c *Conn) BeginTx(ctx context.Context, opts *stdSql.TxOptions) (*Tx, error)

generates this error during build state:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x119f041]

goroutine 1 [running]:
github.com/rocketlaunchr/igo/common.RemoveComments.func1(0x12604e0, 0xc0003d2d20, 0x1260b01)
	/Users/pj/GOPATH/src/github.com/rocketlaunchr/igo/common/comments.go:36 +0x71
go/ast.inspector.Visit(0xc0002ded50, 0x12604e0, 0xc0003d2d20, 0x125f220, 0xc0002ded50)
	/usr/local/Cellar/go/1.12.6/libexec/src/go/ast/walk.go:373 +0x3a
go/ast.Walk(0x125f220, 0xc0002ded50, 0x12604e0, 0xc0003d2d20)
	/usr/local/Cellar/go/1.12.6/libexec/src/go/ast/walk.go:52 +0x66
go/ast.walkDeclList(0x125f220, 0xc0002ded50, 0xc000179e00, 0xb, 0x10)
	/usr/local/Cellar/go/1.12.6/libexec/src/go/ast/walk.go:38 +0x9e
go/ast.Walk(0x125f220, 0xc0002ded50, 0x1260460, 0xc0003caa80)
	/usr/local/Cellar/go/1.12.6/libexec/src/go/ast/walk.go:353 +0x2659
go/ast.Inspect(...)
	/usr/local/Cellar/go/1.12.6/libexec/src/go/ast/walk.go:385
github.com/rocketlaunchr/igo/common.RemoveComments(0xc000291770, 0x27, 0x13e8ea8, 0x0)
	/Users/pj/GOPATH/src/github.com/rocketlaunchr/igo/common/comments.go:33 +0x15e
github.com/rocketlaunchr/igo/cmds.processFile(0xc0003c8080, 0x9, 0x0, 0x0)
	/Users/pj/GOPATH/src/github.com/rocketlaunchr/igo/cmds/build.go:102 +0x22f
github.com/rocketlaunchr/igo/cmds.BuildCmd(0xc0000dc500, 0xc000094720, 0x1, 0x1)
	/Users/pj/GOPATH/src/github.com/rocketlaunchr/igo/cmds/build.go:40 +0x472
github.com/spf13/cobra.(*Command).execute(0xc0000dc500, 0xc0000946f0, 0x1, 0x1, 0xc0000dc500, 0xc0000946f0)
	/Users/pj/GOPATH/src/github.com/spf13/cobra/command.go:830 +0x2ae
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000dc000, 0xc000040f78, 0x2, 0x2)
	/Users/pj/GOPATH/src/github.com/spf13/cobra/command.go:914 +0x2fc
github.com/spf13/cobra.(*Command).Execute(...)
	/Users/pj/GOPATH/src/github.com/spf13/cobra/command.go:864
main.main()
	/Users/pj/GOPATH/src/github.com/rocketlaunchr/igo/main.go:43 +0x173

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.