Giter VIP home page Giter VIP logo

sourcachefs's People

Contributors

jmmv avatar tetsuok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sourcachefs's Issues

Consider adopting an idiomatic repository layout

Thanks for publishing this!

Currently, your import paths don’t resolve: you use e.g. github.com/jmmv/sourcachefs/fs in code, but go get will not be able to download that package, because it lives in src/github.com/jmmv/sourcachefs/fs instead of fs.

This decision affects many downstream tools, such as godoc.org (for automatic API documentation) or packaging helpers (making it hard to package sourcachefs for Debian and others).

Please consider structuring your repository like so:

  1. Place the source directly in your repository, i.e. mv src/github.com/jmmv/sourcachefs/* .
  2. Place packages which are not supposed to be used by others in an internal subdirectory. See https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
  3. (Place executable commands in a cmd subdirectory, e.g. cmd/sourcachefs.)
  4. If you need specific versions or custom patches to dependencies, vendor them using the https://github.com/golang/dep tool.

For an example of this structure, see e.g. https://github.com/Debian/debiman/

The end result should be that users will be able to install/update your software using go get -u github.com/jmmv/sourcachefs/cmd/sourcachefs.

Thanks for considering.

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.