OK, I guess that Go has no solution for this.
On Friday, March 29, 2019 at 2:20:53 AM UTC+1, twp...@gmail.com wrote:
>
> I have a bunch of integration tests which depend on external services.
> I've added the build tag "integration" for each source file containing such
> tests so they are only
I have a bunch of integration tests which depend on external services. I've
added the build tag "integration" for each source file containing such
tests so they are only run when I do:
$ go test -tags=integration ./...
Go 1.12, by default, caches the tests results, which is exactly what I
tl;dr "go mod" writes a timestamp/commit hash to go.mod when a perfectly
good tag exists. I don't understand why go.mod doesn't use the tag.
Given this library
https://github.com/twpayne/go-xdg
with a "v2.0.0" tag:
https://github.com/twpayne/go-xdg/releases/tag
Tom
>
>
> Background info to avoid the XY problem <http://xyproblem.info/>: this is
> to make chezmoi <https://github.com/twpayne/chezmoi> run faster. I want
> to run the doctor checks
> <https://github.com/twpayne/chezmoi/blob/ed27b49f9ca4cd3662e6a59908dee24b0d29
This is accurate for the details, but not accurate overall. Basically I
want "parallel map". Input order defined. Element-wise transformations are
independent. Output order must be the same as input order. If a worker
stalls, I'm quite happy with the entire process stalling at the point.
On
dard Go pattern out there which can do it. My web search
>> skills didn't find such a library though. Do you know of one?
>>
>> Cheers,
>> Tom
>>
>>
>> Background info to avoid the XY problem <http://xyproblem.info/>: this
>> is to make c
gt;
> Background info to avoid the XY problem <http://xyproblem.info/>: this is
> to make chezmoi <https://github.com/twpayne/chezmoi> run faster. I want
> to run the doctor checks
> <https://github.com/twpayne/chezmoi/blob/ed27b49f9ca4cd3662e6a59908dee24b0d295b79/cmd
such a library though. Do you know of one?
Cheers,
Tom
Background info to avoid the XY problem <http://xyproblem.info/>: this is
to make chezmoi <https://github.com/twpayne/chezmoi> run faster. I want to
run the doctor checks
<https://github.com/twpay
Whether CGO is enabled or not affects how reliable certain standard library
functions are. For example, os/user.LookupGroupId is untrustworthy if CGO
is not enabled (example 1 <https://github.com/twpayne/chezmoi/issues/65>,
example
2 <https://github.com/twpayne/chezmoi/issues/125>)
As part of chezmoi <https://github.com/twpayne/chezmoi>, I want to reverse
text/template.Template.Execute, i.e. given some template output, and some
data that was used to generate that output, I want to generate the best
possible input template that given the data generates the same
Link: github.com/twpayne/go-vfs
Package vfs provides an abstraction of the os and ioutil packages that is
easy to test.
Key features:
- File system abstraction layer for commonly-used os and ioutil functions
from the standard library.
- Powerful testing framework, vfst <https://github.
11 matches
Mail list logo