Git Product home page Git Product logo

goto's People

Contributors

mister-meeseeks avatar

Watchers

 avatar  avatar  avatar

goto's Issues

Support for go CLI commands other than "go install"

Currently always runs install. We need a way to support other functionality like test, doc, build and fmt. None of that works if we're rooted outside the GOPATH. Also we need support for flags in these various commands. User should not be limited in their use of go SDK by their use of goto project structure.

Sanitize root level cmd

Go repos often include cmd/ as a top-level directory. Problem with goto is that packages resolve to the root level. But that conflicts with the cmd package in the standard library. cmd isn't meant for exporting, just binary compile.

So let's add a trapdoor for handling this functionality.

Command Target separate from Working Directory

Create the ability in CLI to specify a command target distinct from the build directory reference. Used primarily for Go commands that don't necessarily take a path. (like go test or go doc)

goto test all

Support for test all is not enabled. If trying to test on a root package it raises no test code found, instead of running the tests for the entire tree like go test would do.

goto test recurse by default

When passed a directory path, goto test should test cursively through that directory tree unless otherwise specified. Equivalent of go test ./foo/...

Export packages

Flag to export library packages instead of executable binaries.

Recursive Imports

Make sure that goto projects resolve safely and import recursively. Probably means discovering if an import target is a goto project.

Examples with READMEs

Expand the examples section to cover full suite of functionality. Add READMEs to each example to explain its purpose.

Comprehensive README

README should be expanded to fully cover the functionality of the program. That includes

  • CLI interface options
  • Install options
  • Dependencies
  • default imports
  • import directives
  • import aliasing

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.