aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-25Introduce a Promise typeHEADmainGrégoire Duchêne
2025-05-25Use modern APIs and retire MapKeysGrégoire Duchêne
2024-05-12Update github.com/google/go-cmpGrégoire Duchêne
2023-10-07Add ParseStringRegexpv0.7.0Grégoire Duchêne
2023-07-02Use StoreInt32 instead of SwapInt32v0.6.1Grégoire Duchêne
2023-07-02Simplify statementGrégoire Duchêne
2023-02-26Add ParseStringerEnumv0.6.0Grégoire Duchêne
2023-02-26Parameterize UnknownEnumValueErrorGrégoire Duchêne
Also, do not sort the expected values in UnknownEnumValueError.Error.
2023-02-26Add ParseStringGrégoire Duchêne
2023-02-26Simplify TestMapKeys a bitGrégoire Duchêne
2023-02-26Clone testing options before calling subtestGrégoire Duchêne
2022-12-11Add MapKeysGrégoire Duchêne
2022-12-11Add SliceMapGrégoire Duchêne
2022-12-10Add ParseProtobufEnumv0.5.0Grégoire Duchêne
2022-12-10Add ParseStringEnumGrégoire Duchêne
2022-12-10Reorder things a bitGrégoire Duchêne
2022-12-10Add Feature and FlagFeature{,Var}Grégoire Duchêne
Feature is essentially a boolean flag that can be safely mutated at run time. FlagFeature{,Var} make Feature objects work with flags.
2022-12-10Add T.AssertErrorAsGrégoire Duchêne
2022-12-10Fix typoGrégoire Duchêne
2022-12-03Remove ‘value’ argument from Flag{,Slice}Varv0.4.0Grégoire Duchêne
It’s basically redundant since a pointer to the value is already provided; callers can just set a default value there.
2022-12-03Remove redundant type conversionsGrégoire Duchêne
2022-12-03Remove redundant ParseStringGrégoire Duchêne
2022-12-03Remove MutableFlagValueGrégoire Duchêne
We can just have an ad hoc interface and not clutter the API.
2022-12-03Prevent flags from being set again by defaultv0.3.0Grégoire Duchêne
Flag values that are safe to be set again should implement the new MutableFlagValue interface.
2022-12-03Drop T from the name of the Flag functionsGrégoire Duchêne
Kind of redundant given that there’s a type parameter right after the function name.
2022-12-03Add InitFlagSetGrégoire Duchêne
2022-12-03Add NoCopy to flag types as not to be copiedGrégoire Duchêne
See https://github.com/golang/go/issues/8005#issuecomment-190753527 for more details.
2022-12-03Have FlagTSlice{,Var} take an optional separatorGrégoire Duchêne
This separator, when passed, allows for multiple values to be passed at a time.
2022-11-27Revert "Close pipe if PipeListener.DialContext errors out"Grégoire Duchêne
This reverts commit 2bfa4630c7223ee11ec29b91107333758e7f2a8e. It basically is not necessary to close the underlying channel.
2022-11-27Fix typo in header namev0.2.1Grégoire Duchêne
2022-09-17Update github.com/google/go-cmp to v0.5.9Grégoire Duchêne
2022-09-17Close pipe if PipeListener.DialContext errors outGrégoire Duchêne
2022-07-31Add T.Assert and T.AssertNotv0.2.0Grégoire Duchêne
2022-06-26Simplify the flag helper functionsv0.1.0Grégoire Duchêne
2022-06-26Add FlagVarDef and FlagVarSliceDefGrégoire Duchêne
2022-06-26Add a few flag helper functionsGrégoire Duchêne
2022-06-18Add FilterHTTPMethod and FilteringHTTPHandlerGrégoire Duchêne
2022-06-12Add SPDX tagsGrégoire Duchêne
2022-06-05Add ListenPipeGrégoire Duchêne
Also, PipeListener.Close now returns syscall.EINVAL if the PipeListener was closed already. This imitates the behavior of net.UnixListener.
2022-06-05Add Listen, Must, PipeListener, and TGrégoire Duchêne
2022-06-05First commitGrégoire Duchêne