Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/triztian/my.binary.project
A sample Go project to illustrate dotted path issues
https://github.com/triztian/my.binary.project
Last synced: about 1 month ago
JSON representation
A sample Go project to illustrate dotted path issues
- Host: GitHub
- URL: https://github.com/triztian/my.binary.project
- Owner: triztian
- Created: 2019-07-01T23:36:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-02T22:34:24.000Z (over 5 years ago)
- Last Synced: 2023-08-03T18:34:03.226Z (over 1 year ago)
- Language: Go
- Size: 2.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# golang/go: issue #32886
This project reproduces the issue mentioned here in a public way:
* https://github.com/golang/go/issues/32886
What this project aims to achieve if the issue were not present is to switch the implementation of a function based on a build constraint:
When perfoming a build normally:
```bash
go build
```It should build the `cmd/func.go` file
When performing a build with the `some.constraint.with-dash` tag it should build the `cmd/func_stub.go` file.
```bash
go build -tags some.constraint.with-dash
```