mister-meeseeks / goto Goto Github PK
View Code? Open in Web Editor NEWBuild without GOPATH
License: Apache License 2.0
Build without GOPATH
License: Apache License 2.0
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.
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.
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)
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.
When passed a directory path, goto test should test cursively through that directory tree unless otherwise specified. Equivalent of go test ./foo/...
If triple dot is appended to a directory it's a test target. goto should infer the directory even in this mode.
Flag to export library packages instead of executable binaries.
Justify why this program is better than Go modules
Make sure that goto projects resolve safely and import recursively. Probably means discovering if an import target is a goto project.
Check behavior when a goto project with import aliasing is imported by a regular Go repo. Document effect.
Expand the examples section to cover full suite of functionality. Add READMEs to each example to explain its purpose.
Define a directive in goto.cfg that sets a root prefix to the entire goto package namespace.
README should be expanded to fully cover the functionality of the program. That includes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.