Git Product home page Git Product logo

gotests-vim's People

Contributors

buoto avatar extemporalgenome avatar fengxuway avatar get-me-power 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  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

gotests-vim's Issues

Undefined variable after recent update

Hey ๐Ÿ‘‹! I recently updated this plugin, and am experiencing an error when trying to generate tests - seemingly related to this change. I'm not sure if this is a bug, or if there's something I need to do on my end to fix it to be able to generate tests now.

Error in nvim:

Error detected while processing function gotests#alltests:                                                                                                                                            โ”‚
line   10:                                                                                                                                                                                            โ”‚
E121: Undefined variable: g:gotests_template                                                                                                                                                          โ”‚
E116: Invalid arguments for function empty                                                                                                                                                            โ”‚
Press ENTER or type command to continue                                                                                                                                                               โ”‚

I've tried modifying locally to change the newly introduced tabs to spaces to see if that helped (as the entire file uses spaces except for the 4 new lines now use tabs), but it didn't seem to change the outcome.

Can support -template arg?

I offen use gotests with -template testify, just like:

gotests -only "myFuncName" -w -template testify mycode.go

Can this plugin support the arg?

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.