Skip to content

Commit

Permalink
chore: migrate repository to the company
Browse files Browse the repository at this point in the history
  • Loading branch information
vranystepan committed Dec 19, 2022
1 parent 13312b5 commit 529a8b9
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
main


dist/
34 changes: 34 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
main: ./cmd/main.go
archives:
- replacements:
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

# modelines, feel free to remove those if you don't want/use them:
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sqs"
"github.com/coreos/go-systemd/dbus"
"github.com/vranystepan/unit-reloader/internal/reloader"
"github.com/vranystepan/unit-reloader/pkg/config"
"github.com/pipetail/unit-reloader/internal/reloader"
"github.com/pipetail/unit-reloader/pkg/config"
)

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/vranystepan/unit-reloader
module github.com/pipetail/unit-reloader

go 1.19

Expand Down
6 changes: 3 additions & 3 deletions internal/reloader/reloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/sqs"
"github.com/coreos/go-systemd/dbus"
"github.com/vranystepan/unit-reloader/pkg/config"
dbusImpl "github.com/vranystepan/unit-reloader/pkg/dbus"
sqsImpl "github.com/vranystepan/unit-reloader/pkg/sqs"
"github.com/pipetail/unit-reloader/pkg/config"
dbusImpl "github.com/pipetail/unit-reloader/pkg/dbus"
sqsImpl "github.com/pipetail/unit-reloader/pkg/sqs"
)

func Run(ctx context.Context, cfg *config.Config, sqsClient *sqs.SQS, dbusClient *dbus.Conn) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"
"fmt"

"github.com/vranystepan/unit-reloader/pkg/util"
"github.com/pipetail/unit-reloader/pkg/util"
)

type Config struct {
Expand Down

0 comments on commit 529a8b9

Please sign in to comment.