Commit Graph

4 Commits

Author SHA1 Message Date
Michael McLoughlin
55d98ccf77 buildtags: go:build support (#208)
Implements formatting of constraints according to the current Go version
supported syntax. This is achieved by delegating to go/format and extracting
out the resulting comments.

Also provides functions to query for constraint syntax support, which are
mainly intended for writing version-dependent tests.

Updates #183
2021-10-29 00:43:49 -07:00
Michael McLoughlin
c48569a6b0 buildtags: doc exported symbols (#9) 2019-01-04 23:22:35 -08:00
Michael McLoughlin
d09e9ce5f9 buildtags: add Evaluate method
Updates #3
2019-01-02 00:10:55 -08:00
Michael McLoughlin
beeb9ed525 buildtags: package for build tag representation
Updates #3
2019-01-01 22:55:57 -08:00