Alex Stockwell
Alex Stockwell
Update: This can be worked around via CiAscByField() (which does work after running just 1x) by defining a type/struct and coercing the child []string's to the struct.
Sure thing, let me know if I can lend a hand. Happy to write a PR if you have an inkling where the issue might lie.
An equivalent for `fuzzy.FuzzyChoice()` to pick a single random choice out of a list (this works for me at least): specify the length ~ `my_property=factory.Faker('random_choices', elements=['a', 'b', 'c', 'd'], length=1)`
I have not tested this fully, but this is what I've ported from another framework and in accordance with the HTTP spec: ``` mysess.Options(sessions.Options{MaxAge: -1}) _ = mysess.Save() ```
Using @christopher-b 's code above (which was super helpful BTW), I get inconsistent results as well from our own Active Directory DC. If I run the same script over and...
Adding another solution here, a one-liner that worked for me (wanting to sample from a large json array/file): ``` $ filename=large_file.json; \ length=$(jq length $filename); \ for i in {1..10};...
I do the same as @vinceau, running xgo locally, and have run into the same challenge. One possible (though somewhat hamfisted) solution might be to allow go build `-mod` flags...
I'm also experiencing this issue: `xgo --targets=linux/amd64 .` (with or without trailing slash) on OSX yields: ``` Checking for required docker image karalabe/xgo-latest... found. Cross compiling .... Building locally .......
Apologies, my issue was my own mistake, I was trying to build a project outside of my GOPATH. Hopefully this is a reminder to anyone else who runs into this...
:+1: Would love to see this merged!