Skip to content

Commit

Permalink
Rename go import path (#87)
Browse files Browse the repository at this point in the history
Signed-off-by: Janine Olear <pninak@web.de>
  • Loading branch information
miyunari authored May 18, 2024
1 parent eba07e6 commit 37536c5
Show file tree
Hide file tree
Showing 25 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
docker buildx create --use
docker buildx build --push -f Containerfile \
--platform linux/amd64,linux/arm64 \
-t ghcr.io/frzifus/lets-party:latest \
-t ghcr.io/quixsi/core:latest \
.
docker buildx stop
Expand Down
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM golang:1.22

COPY . /go/src/github.com/frzifus/lets-party
COPY . /go/src/github.com/quixsi/core

WORKDIR /go/src/github.com/frzifus/lets-party
WORKDIR /go/src/github.com/quixsi/core

RUN CGO_ENABLED=0 go build -v -o /lets-party cmd/server/main.go

Expand Down
6 changes: 3 additions & 3 deletions cmd/convert/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (

bolt "go.etcd.io/bbolt"

"github.com/frzifus/lets-party/intern/db"
"github.com/frzifus/lets-party/intern/db/jsondb"
"github.com/frzifus/lets-party/intern/db/kvdb"
"github.com/quixsi/core/intern/db"
"github.com/quixsi/core/intern/db/jsondb"
"github.com/quixsi/core/intern/db/kvdb"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"

"github.com/frzifus/lets-party/intern/db"
"github.com/frzifus/lets-party/intern/db/jsondb"
"github.com/frzifus/lets-party/intern/db/kvdb"
"github.com/frzifus/lets-party/intern/server"
"github.com/quixsi/core/intern/db"
"github.com/quixsi/core/intern/db/jsondb"
"github.com/quixsi/core/intern/db/kvdb"
"github.com/quixsi/core/intern/server"
)

func main() {
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/frzifus/lets-party
module github.com/quixsi/core

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion intern/db/event_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package db
import (
"context"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

type EventStore interface {
Expand Down
2 changes: 1 addition & 1 deletion intern/db/guest_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/google/uuid"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

type GuestStore interface {
Expand Down
2 changes: 1 addition & 1 deletion intern/db/invitation_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/google/uuid"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

type InvitationStore interface {
Expand Down
2 changes: 1 addition & 1 deletion intern/db/jsondb/event_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/google/uuid"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

func NewEventStore(filename string) (*EventStore, error) {
Expand Down
2 changes: 1 addition & 1 deletion intern/db/jsondb/guest_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/google/uuid"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

// GuestStore is an implementation of the GuestStore interface
Expand Down
2 changes: 1 addition & 1 deletion intern/db/jsondb/invitation_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/google/uuid"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

func NewInvitationStore(filename string) (*InvitationStore, error) {
Expand Down
2 changes: 1 addition & 1 deletion intern/db/jsondb/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package jsondb

import "go.opentelemetry.io/otel"

var tracer = otel.GetTracerProvider().Tracer("github.com/frzifus/lets-party/intern/db/jsondb")
var tracer = otel.GetTracerProvider().Tracer("github.com/quixsi/core/intern/db/jsondb")
2 changes: 1 addition & 1 deletion intern/db/jsondb/translation_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

func NewTranslationStore(filename string) (*TranslationStore, error) {
Expand Down
2 changes: 1 addition & 1 deletion intern/db/kvdb/event_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

const bucketEvent = "event_store"
Expand Down
2 changes: 1 addition & 1 deletion intern/db/kvdb/guest_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
bolt "go.etcd.io/bbolt"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

const bucketGuest = "guest_store"
Expand Down
2 changes: 1 addition & 1 deletion intern/db/kvdb/invitation_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
bolt "go.etcd.io/bbolt"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

const bucketInvitation = "invitation_store"
Expand Down
2 changes: 1 addition & 1 deletion intern/db/kvdb/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package kvdb

import "go.opentelemetry.io/otel"

var tracer = otel.GetTracerProvider().Tracer("github.com/frzifus/lets-party/intern/db/kvdb")
var tracer = otel.GetTracerProvider().Tracer("github.com/quixsi/core/intern/db/kvdb")
2 changes: 1 addition & 1 deletion intern/db/kvdb/translation_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

const bucketTranslation = "translation_store"
Expand Down
2 changes: 1 addition & 1 deletion intern/db/translation_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package db
import (
"context"

"github.com/frzifus/lets-party/intern/model"
"github.com/quixsi/core/intern/model"
)

type TranslationStore interface {
Expand Down
6 changes: 3 additions & 3 deletions intern/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/db"
"github.com/frzifus/lets-party/intern/model"
"github.com/frzifus/lets-party/intern/server/templates"
"github.com/quixsi/core/intern/db"
"github.com/quixsi/core/intern/model"
"github.com/quixsi/core/intern/server/templates"
)

//go:embed all:static
Expand Down
2 changes: 1 addition & 1 deletion intern/server/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
>
<nav class="list-none flex gap-4">
<li>
<a href="https://github.com/frzifus/lets-party" target="_blank"
<a href="https://github.com/quixsi/core" target="_blank"
><svg
height="32"
aria-hidden="true"
Expand Down
6 changes: 3 additions & 3 deletions intern/server/templates/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import (
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/trace"

"github.com/frzifus/lets-party/intern/db"
"github.com/frzifus/lets-party/intern/model"
"github.com/frzifus/lets-party/intern/parser/form"
"github.com/quixsi/core/intern/db"
"github.com/quixsi/core/intern/model"
"github.com/quixsi/core/intern/parser/form"
)

//go:embed *.html
Expand Down
2 changes: 1 addition & 1 deletion intern/server/templates/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package templates

import "go.opentelemetry.io/otel"

var tracer = otel.GetTracerProvider().Tracer("github.com/frzifus/lets-party/intern/server/templates")
var tracer = otel.GetTracerProvider().Tracer("github.com/quixsi/core/intern/server/templates")
2 changes: 1 addition & 1 deletion intern/server/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package server

import "go.opentelemetry.io/otel"

var tracer = otel.GetTracerProvider().Tracer("github.com/frzifus/lets-party/intern/server")
var tracer = otel.GetTracerProvider().Tracer("github.com/quixsi/core/intern/server")
2 changes: 1 addition & 1 deletion monitoring/podman-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ services:
restart: always
networks:
- backend
image: ghcr.io/frzifus/lets-party:${LETS_PARTY_TAG:-latest}
image: ghcr.io/quixsi/core:${LETS_PARTY_TAG:-latest}
command: /lets-party -otlp-grpc=otel_collector:4317
depends_on:
- otel_collector
Expand Down

0 comments on commit 37536c5

Please sign in to comment.