Skip to content

Commit

Permalink
Rename go module (#76)
Browse files Browse the repository at this point in the history
* Updated go references

* Updated package name

* Typo in README
  • Loading branch information
TassiloPitrasch authored Jan 10, 2025
1 parent 5cd41f6 commit cebae1d
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The following options are currently available to install the CLI locally.
- Compile from source (needs Go >= v1.15)

```console
go install github.com/tassilopitrasch/yopass/cmd/yopass@latest
go install github.com/TassiloPitrasch/yopass/cmd/yopass@latest
```

## Installation / Configuration
Expand Down Expand Up @@ -145,7 +145,7 @@ With TLS encryption
```console
docker run --name memcached_yopass -d memcached
docker run -p 443:1337 -v /local/certs/:/certs \
--link memcached_yopass:memcached -d tassilopitrasch/yopass --memcached=memcached:11211 --tls-key=/certs/tls.key --tls-cert=/certs/tls.crt
--link memcached_yopass:memcached -d TassiloPitrasch/yopass --memcached=memcached:11211 --tls-key=/certs/tls.key --tls-cert=/certs/tls.crt
```

Afterwards yopass will be available on port 443 through all IP addresses of the host, including public ones. If you want to limit the availability to a specific IP address use `-p` like so: `-p 127.0.0.1:443:1337`.
Expand All @@ -154,7 +154,7 @@ Without TLS encryption (needs a reverse proxy for transport encryption):

```console
docker run --name memcached_yopass -d memcached
docker run -p 127.0.0.1:80:1337 --link memcached_yopass:memcached -d tassilopitrasch/yopass --memcached=memcached:11211
docker run -p 127.0.0.1:80:1337 --link memcached_yopass:memcached -d TassiloPitrasch/yopass --memcached=memcached:11211
```

Afterwards point your reverse proxy that handles the TLS connections to `127.0.0.1:80`.
Expand Down
2 changes: 1 addition & 1 deletion cmd/yopass-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"syscall"
"time"

"github.com/tassilopitrasch/yopass/pkg/server"
"github.com/TassiloPitrasch/yopass/pkg/server"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/collectors"
"github.com/prometheus/client_golang/prometheus/promhttp"
Expand Down
2 changes: 1 addition & 1 deletion cmd/yopass/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"strings"

"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
"github.com/spf13/pflag"
"github.com/spf13/viper"
)
Expand Down
4 changes: 2 additions & 2 deletions deploy/cdk/go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/yopass/yopass-lambda

replace github.com/tassilopitrasch/yopass => ../../
replace github.com/TassiloPitrasch/yopass => ../../

require (
github.com/akrylysov/algnhsa v0.12.1
github.com/aws/aws-sdk-go v1.42.22
github.com/tassilopitrasch/yopass v0.0.0-20211210123441-30470001a8f2
github.com/TassiloPitrasch/yopass v0.0.0-20211210123441-30470001a8f2
github.com/prometheus/client_golang v1.20.5
go.uber.org/zap v1.27.0
)
Expand Down
4 changes: 2 additions & 2 deletions deploy/cdk/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/dynamodb"
"github.com/tassilopitrasch/yopass/pkg/server"
"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/server"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
"github.com/prometheus/client_golang/prometheus"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/tassilopitrasch/yopass
module github.com/TassiloPitrasch/yopass

go 1.21

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

import "github.com/tassilopitrasch/yopass/pkg/yopass"
import "github.com/TassiloPitrasch/yopass/pkg/yopass"

// Database interface
type Database interface {
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/memcached.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"

"github.com/bradfitz/gomemcache/memcache"
"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
)

// NewMemcached returns a new memcached database client
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/memcached_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
)

func TestMemcached(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/go-redis/redis/v7"
"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
)

// NewRedis returns a new Redis database client
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
)

func TestRedis(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/gofrs/uuid"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
"github.com/prometheus/client_golang/prometheus"
"go.uber.org/zap"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/testutil"
"go.uber.org/zap/zaptest"
Expand Down
4 changes: 2 additions & 2 deletions pkg/yopass/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net/http/httptest"
"testing"

"github.com/tassilopitrasch/yopass/pkg/server"
"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/server"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
"github.com/prometheus/client_golang/prometheus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/yopass/yopass_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/tassilopitrasch/yopass/pkg/yopass"
"github.com/TassiloPitrasch/yopass/pkg/yopass"
"golang.org/x/crypto/openpgp"
"golang.org/x/crypto/openpgp/armor"
)
Expand Down
2 changes: 1 addition & 1 deletion website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.com/yopass/website.svg?branch=master)](https://travis-ci.com/yopass/website)

The UI component for [yopass](https://github.com/tassilopitrasch/yopass)
The UI component for [yopass](https://github.com/TassiloPitrasch/yopass)

## Local Development

Expand Down

0 comments on commit cebae1d

Please sign in to comment.