906247c8f9
fix: enable gofumpt instead of gofmt linter in client
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-17 22:29:59 +02:00
1a65313a73
fix typo in concurrent examples
...
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2023-11-10 14:41:21 +00:00
aea1cd0077
feat: enable unparam lint
...
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2023-10-17 21:24:13 +08:00
03d8fff0d8
clientv3: add Ctx() to return context of session
...
Signed-off-by: Wenkang Zhang <314830391@qq.com >
2023-07-18 15:22:53 +08:00
2ec12e4b4e
clientv3: prevent nil pointer call in get method
...
Signed-off-by: Marcondes Viana <marju10@gmail.com >
2023-07-10 08:16:00 -03:00
9e1abbab6e
Fix goimports in all existing files. Execution of ./scripts/fix.sh
...
Signed-off-by: Piotr Tabor <ptab@google.com >
2022-12-29 09:41:31 +01:00
6fc0d96b42
Merge pull request #14993 from ramil600/add-log
...
clientv3/concurrency: add logger to session, add unit test
2022-12-19 10:30:38 +01:00
3c582fecb0
clientv3/concurrency: add logger to session, add unit test
...
Signed-off-by: Ramil Mirhasanov <ramil600@yahoo.com >
2022-12-16 11:11:35 +03:00
0721d2f254
client: update comment for clarity
...
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com >
2022-11-22 19:25:46 +05:30
95c520976a
client: Use func without format
...
Signed-off-by: Sasha Melentyev <sasha@melentyev.io >
2022-11-15 01:02:24 +03:00
5b8c6b548f
etcdclient: check mutex state in Unlock method of concurrency.Mutex
...
Check the values of myKey and myRev first in Unlock method to prevent calling Unlock without Lock. Because this may cause the value of pfx to be deleted by mistake.
Signed-off-by: chenyahui <cyhone@qq.com >
2022-11-08 22:24:52 +08:00
3bb7acc8cf
Migrate dependencies pkg/foo -> client/pkg/foo
2021-04-07 00:38:47 +02:00
e33c6dd9df
client/v3: Rename of imports
2020-10-20 10:13:06 +02:00
8a7f15511c
clientv3: Move to client/v3 (just file move)
...
Mechanical:
% git mv clientv3 client/v3
% git mv client/mock client/v3/
2020-10-20 10:08:35 +02:00