Git Product home page Git Product logo

x's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

x's Issues

[pjs] panic in custom queries when missing args

Usage:
  pjs tables <schema> [flags]

Flags:
  -h, --help   help for tables

Global Flags:
      --debug        print debug information
  -d, --dsn string   a dsn string
  -t, --show-types   show types
panic: runtime error: index out of range [0] with length 0

goroutine 26 [running]:
github.com/ingcr3at1on/x/pjs/cmd/pjs/internal.(*customQueries).loadCustomQuery.func2(0xc000214000, {0xdd24e0, 0x0, 0x0})
	/home/ing/go2/src/github.com/ingcr3at1on/x/pjs/cmd/pjs/internal/custom_queries.go:125 +0x279
github.com/spf13/cobra.(*Command).execute(0xc000214000, {0xdd24e0, 0x0, 0x0})
	/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xd9b920)
	/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
	/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:895
github.com/ingcr3at1on/x/sigctx.StartWithContext.func1()
	/home/ing/go/pkg/mod/github.com/ingcr3at1on/x/[email protected]/sigctx.go:74 +0x54
created by github.com/ingcr3at1on/x/sigctx.StartWithContext
	/home/ing/go/pkg/mod/github.com/ingcr3at1on/x/[email protected]/sigctx.go:72 +0x151
2022/08/22 11:32:21 exit status 2

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.