Giter Club home page Giter Club logo

Comments (3)

yugui avatar yugui commented on May 16, 2024

First of all, sometimes there are several Go packages in a directory, which have different set of build tags. Although it is not related to the question very well.

Second, go_default_library makes the mapping between Bazel package and Go package path simple. We can always assume that //path/to/lib:something is under the go package $go_prefix/path/to/lib/....

Technically it was not impossible to choose the design of //path/to/lib:lib but it adds another special case into the mapping and makes the implementation more complex. So I have no plan to change the design.

from rules_go.

pmbethe09 avatar pmbethe09 commented on May 16, 2024

I think once we have a working 'gazelle' BUILD file generator, this issue
will be less important

On Tue, Aug 16, 2016 at 9:46 AM, Yuki Yugui Sonoda <[email protected]

wrote:

First of all, sometimes there are several Go packages in a directory,
which have different set of build tags. Although it is not related to the
question very well.

Second, go_default_library makes the mapping between Bazel package and Go
package path simple. We can always assume that //path/to/lib:something is
under the go package $go_prefix/path/to/lib/....

Technically it was not impossible to choose the design of
//path/to/lib:lib but it adds another special case into the mapping and
makes the implementation more complex. So I have no plan to change the
design.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#66 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALF-0rTxrxWTJcBmQeo3pA8zYtcPpmM6ks5qgb83gaJpZM4Jk6Rw
.

from rules_go.

adrianludwin avatar adrianludwin commented on May 16, 2024

Agreed, I think this is fine to leave for now. Thanks.

from rules_go.

Related Issues (20)

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.