Skip to content

Commit 39c5afa

Browse files
committed
Renames module
1 parent 163099b commit 39c5afa

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# id: meta
4343
# uses: docker/metadata-action@v5
4444
# with:
45-
# images: flashbots/go-template
45+
# images: flashbots/ssh-pubkey-server
4646
# tags: |
4747
# type=sha
4848
# type=pep440,pattern={{version}}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ clean:
1414
.PHONY: build-cli
1515
build-cli:
1616
@mkdir -p ./build
17-
go build -trimpath -ldflags "-X github.com/flashbots/go-template/common.Version=${VERSION}" -v -o ./build/cli cmd/cli/main.go
17+
go build -trimpath -ldflags "-X github.com/flashbots/ssh-pubkey-server/common.Version=${VERSION}" -v -o ./build/cli cmd/cli/main.go
1818

1919
.PHONY: build-httpserver
2020
build-httpserver:
2121
@mkdir -p ./build
22-
go build -trimpath -ldflags "-X github.com/flashbots/go-template/common.Version=${VERSION}" -v -o ./build/httpserver cmd/httpserver/main.go
22+
go build -trimpath -ldflags "-X github.com/flashbots/ssh-pubkey-server/common.Version=${VERSION}" -v -o ./build/httpserver cmd/httpserver/main.go
2323

2424
.PHONY: test
2525
test:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# go-template
1+
# ssh-pubkey-server
22

3-
[![Goreport status](https://goreportcard.com/badge/github.com/flashbots/go-template)](https://goreportcard.com/report/github.com/flashbots/go-template)
4-
[![Test status](https://github.com/flashbots/go-template/workflows/Checks/badge.svg?branch=main)](https://github.com/flashbots/go-template/actions?query=workflow%3A%22Checks%22)
3+
[![Goreport status](https://goreportcard.com/badge/github.com/flashbots/ssh-pubkey-server)](https://goreportcard.com/report/github.com/flashbots/go-template)
4+
[![Test status](https://github.com/flashbots/ssh-pubkey-server/workflows/Checks/badge.svg?branch=main)](https://github.com/flashbots/go-template/actions?query=workflow%3A%22Checks%22)
55

66
Toolbox and building blocks for new Go projects, to get started quickly and right-footed!
77

8-
* [`Makefile`](https://github.com/flashbots/go-template/blob/main/Makefile) with `lint`, `test`, `build`, `fmt` and more
8+
* [`Makefile`](https://github.com/flashbots/ssh-pubkey-server/blob/main/Makefile) with `lint`, `test`, `build`, `fmt` and more
99
* Linting with `gofmt`, `gofumpt`, `go vet`, `staticcheck` and `golangci-lint`
1010
* Logging setup using the [slog logger](https://pkg.go.dev/golang.org/x/exp/slog) (with debug and json logging options)
1111
* [GitHub Workflows](.github/workflows/) for linting and testing, as well as releasing and publishing Docker images

cmd/cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"os"
77

8-
"github.com/flashbots/go-template/common"
8+
"github.com/flashbots/ssh-pubkey-server/common"
99
"github.com/urfave/cli/v2" // imports as package "cli"
1010
)
1111

cmd/httpserver/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"syscall"
88
"time"
99

10-
"github.com/flashbots/go-template/common"
11-
"github.com/flashbots/go-template/httpserver"
10+
"github.com/flashbots/ssh-pubkey-server/common"
11+
"github.com/flashbots/ssh-pubkey-server/httpserver"
1212
"github.com/google/uuid"
1313
"github.com/urfave/cli/v2" // imports as package "cli"
1414
)

common/vars.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ package common
33
var Version = "dev"
44

55
const (
6-
PackageName = "github.com/flashbots/go-template"
6+
PackageName = "github.com/flashbots/ssh-pubkey-server"
77
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/flashbots/go-template
1+
module github.com/flashbots/ssh-pubkey-server
22

33
go 1.21
44

httpserver/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net/http"
55
"time"
66

7-
"github.com/flashbots/go-template/metrics"
7+
"github.com/flashbots/ssh-pubkey-server/metrics"
88
)
99

1010
func (s *Server) handleAPI(w http.ResponseWriter, r *http.Request) {

httpserver/handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/flashbots/go-template/common"
11+
"github.com/flashbots/ssh-pubkey-server/common"
1212
"github.com/stretchr/testify/require"
1313
)
1414

httpserver/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"net/http"
88
"time"
99

10-
"github.com/flashbots/go-template/common"
11-
"github.com/flashbots/go-template/metrics"
10+
"github.com/flashbots/ssh-pubkey-server/common"
11+
"github.com/flashbots/ssh-pubkey-server/metrics"
1212
"github.com/flashbots/go-utils/httplogger"
1313
"github.com/go-chi/chi/v5"
1414
"github.com/go-chi/chi/v5/middleware"

0 commit comments

Comments
 (0)