Update to the latest dependency versions and use distroless/static:nonroot image

This commit is contained in:
Milad Arab
2022-11-03 08:04:20 +00:00
parent 76cd1a28e6
commit 4068548ec5
26 changed files with 1084 additions and 571 deletions
+3 -3
View File
@@ -21,9 +21,9 @@
// explicitly to each function that needs it. The Context should be the first
// parameter, typically named ctx:
//
// func DoSomething(ctx context.Context, arg Arg) error {
// // ... use ctx ...
// }
// func DoSomething(ctx context.Context, arg Arg) error {
// // ... use ctx ...
// }
//
// Do not pass a nil Context, even if a function permits it. Pass context.TODO
// if you are unsure about which Context to use.