diff --git a/.gitignore b/.gitignore index 4a64e53..fe253a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ authPostmanService -vendor \ No newline at end of file +# vendor \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index 2d6bda4..1e7978b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,7 +14,7 @@ "SMTP_HOST":"smtp.mail.ru", // "SMTP_PORT":"465", "SMTP_PORT":"587", - "SMTP_SENDER":"test3kbot@mail.ru", + "SMTP_SENDER":"git.slaventius.ru/test3kbot@mail.ru", "SMTP_PASSWORD":"hwNhMgPyBzMjwCj3hFPp", "KAFKA_PORT":"9092", }, diff --git a/cmd/main.go b/cmd/main.go index caa5aaa..a1489fd 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -9,8 +9,8 @@ import ( "strconv" "syscall" - server "test3k/authPostman/internal" - "test3k/authPostman/internal/config" + server "git.slaventius.ru/test3k/authPostman/internal" + "git.slaventius.ru/test3k/authPostman/internal/config" ) const ( diff --git a/go.mod b/go.mod index 0cac655..222b994 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module test3k/authPostman +module git.slaventius.ru/test3k/authPostman go 1.19 diff --git a/internal/authPostman.go b/internal/authPostman.go index c4ae4a9..a78d5e4 100644 --- a/internal/authPostman.go +++ b/internal/authPostman.go @@ -7,9 +7,9 @@ import ( "net" "strconv" - "test3k/authPostman/internal/config" - kafka "test3k/authPostman/internal/transport/kafka" - smtp "test3k/authPostman/internal/transport/smtp" + "git.slaventius.ru/test3k/authPostman/internal/config" + kafka "git.slaventius.ru/test3k/authPostman/internal/transport/kafka" + smtp "git.slaventius.ru/test3k/authPostman/internal/transport/smtp" ) type msg struct { diff --git a/internal/transport/kafka/reader.go b/internal/transport/kafka/reader.go index 2dd6355..5fc168a 100644 --- a/internal/transport/kafka/reader.go +++ b/internal/transport/kafka/reader.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "test3k/authPostman/internal/config" + "git.slaventius.ru/test3k/authPostman/internal/config" "github.com/segmentio/kafka-go" ) diff --git a/scripts/start.sh b/scripts/start.sh index 497b6ca..58f6210 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -2,7 +2,7 @@ export SMTP_HOST=smtp.mail.ru export SMTP_PORT=587 -export SMTP_SENDER=test3kbot@mail.ru +export SMTP_SENDER=git.slaventius.ru/test3kbot@mail.ru export SMTP_PASSWORD=hwNhMgPyBzMjwCj3hFPp export KAFKA_HOST=127.0.0.1 export KAFKA_PORT=9092