Skip to content

Commit

Permalink
fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
nitwhiz committed Feb 17, 2024
1 parent 8c7e291 commit faa8d93
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cmd/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"context"
"github.com/nitwhiz/omnilock/pkg/server"
"github.com/nitwhiz/omnilock/v2/pkg/server"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/nitwhiz/omnilock
module github.com/nitwhiz/omnilock/v2

go 1.21.6
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package client
import (
"bufio"
"context"
"github.com/nitwhiz/omnilock/pkg/id"
"github.com/nitwhiz/omnilock/v2/pkg/id"
"net"
"sync"
"time"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lock/lock_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package lock

import (
"context"
"github.com/nitwhiz/omnilock/pkg/util"
"github.com/nitwhiz/omnilock/v2/pkg/util"
"sync"
"time"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package server

import (
"context"
"github.com/nitwhiz/omnilock/pkg/client"
"github.com/nitwhiz/omnilock/pkg/lock"
"github.com/nitwhiz/omnilock/v2/pkg/client"
"github.com/nitwhiz/omnilock/v2/pkg/lock"
"log"
"net"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/server_command.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package server

import (
"github.com/nitwhiz/omnilock/pkg/client"
"github.com/nitwhiz/omnilock/v2/pkg/client"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/server/server_command_handler.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package server

import "github.com/nitwhiz/omnilock/pkg/client"
import "github.com/nitwhiz/omnilock/v2/pkg/client"

type CommandHandler func(c *client.Client, argv ...string) (result bool, err error)
2 changes: 1 addition & 1 deletion pkg/server/server_command_handler_lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"context"
"errors"
"github.com/nitwhiz/omnilock/pkg/client"
"github.com/nitwhiz/omnilock/v2/pkg/client"
"log"
"strconv"
"time"
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/server_command_handler_trylock.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package server

import (
"errors"
"github.com/nitwhiz/omnilock/pkg/client"
"github.com/nitwhiz/omnilock/v2/pkg/client"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/server/server_command_handler_unlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package server

import (
"errors"
"github.com/nitwhiz/omnilock/pkg/client"
"github.com/nitwhiz/omnilock/v2/pkg/client"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package integration
import (
"context"
"fmt"
"github.com/nitwhiz/omnilock/pkg/server"
"github.com/nitwhiz/omnilock/v2/pkg/server"
"net"
"strings"
"sync"
Expand Down

0 comments on commit faa8d93

Please sign in to comment.