From 2de7a0523b1724992add903127bae26034f2fcfc Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Thu, 17 Apr 2025 18:26:58 +0000 Subject: [PATCH] Change the package name to sync Allow enabling other constructs under sync package Signed-off-by: Prabhjot Singh Sethi --- {lock => sync}/README.md | 0 {lock => sync}/lock.go | 2 +- {lock => sync}/owner.go | 2 +- {lock => sync}/owner_test.go | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename {lock => sync}/README.md (100%) rename {lock => sync}/lock.go (99%) rename {lock => sync}/owner.go (99%) rename {lock => sync}/owner_test.go (98%) diff --git a/lock/README.md b/sync/README.md similarity index 100% rename from lock/README.md rename to sync/README.md diff --git a/lock/lock.go b/sync/lock.go similarity index 99% rename from lock/lock.go rename to sync/lock.go index 7be325d..cd83df6 100644 --- a/lock/lock.go +++ b/sync/lock.go @@ -1,4 +1,4 @@ -package lock +package sync import ( "context" diff --git a/lock/owner.go b/sync/owner.go similarity index 99% rename from lock/owner.go rename to sync/owner.go index 9acfa27..1af031c 100644 --- a/lock/owner.go +++ b/sync/owner.go @@ -1,7 +1,7 @@ // Copyright © 2025 Prabhjot Singh Sethi, All Rights reserved // Author: Prabhjot Singh Sethi -package lock +package sync import ( "context" diff --git a/lock/owner_test.go b/sync/owner_test.go similarity index 98% rename from lock/owner_test.go rename to sync/owner_test.go index 787a79b..3a9d3b2 100644 --- a/lock/owner_test.go +++ b/sync/owner_test.go @@ -1,7 +1,7 @@ // Copyright © 2025 Prabhjot Singh Sethi, All Rights reserved // Author: Prabhjot Singh Sethi -package lock +package sync import ( "context"