aplied renamer
This commit is contained in:
parent
f0c6bdc6a4
commit
448244cef8
@ -4,8 +4,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"mailnotifier/internal/app"
|
"gitea.pena/PenaSide/notifier/internal/app"
|
||||||
"mailnotifier/internal/initialize"
|
"gitea.pena/PenaSide/notifier/internal/initialize"
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module mailnotifier
|
module gitea.pena/PenaSide/notifier
|
||||||
|
|
||||||
go 1.21.6
|
go 1.21.6
|
||||||
|
|
||||||
|
@ -3,10 +3,10 @@ package app
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"mailnotifier/internal/clients"
|
"gitea.pena/PenaSide/notifier/internal/clients"
|
||||||
"mailnotifier/internal/initialize"
|
"gitea.pena/PenaSide/notifier/internal/initialize"
|
||||||
"mailnotifier/internal/repository"
|
"gitea.pena/PenaSide/notifier/internal/repository"
|
||||||
"mailnotifier/internal/workers"
|
"gitea.pena/PenaSide/notifier/internal/workers"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Run(ctx context.Context, config initialize.Config, logger *zap.Logger) error {
|
func Run(ctx context.Context, config initialize.Config, logger *zap.Logger) error {
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"mailnotifier/internal/models"
|
"gitea.pena/PenaSide/notifier/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Customer struct {
|
type Customer struct {
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/credentials/insecure"
|
"google.golang.org/grpc/credentials/insecure"
|
||||||
"mailnotifier/internal/proto/notifyer"
|
"gitea.pena/PenaSide/notifier/internal/proto/notifyer"
|
||||||
)
|
)
|
||||||
|
|
||||||
type QuizClient struct {
|
type QuizClient struct {
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"go.mongodb.org/mongo-driver/bson"
|
"go.mongodb.org/mongo-driver/bson"
|
||||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||||
"go.mongodb.org/mongo-driver/mongo"
|
"go.mongodb.org/mongo-driver/mongo"
|
||||||
"mailnotifier/internal/models"
|
"gitea.pena/PenaSide/notifier/internal/models"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,9 +7,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"github.com/twmb/franz-go/pkg/kgo"
|
"github.com/twmb/franz-go/pkg/kgo"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"mailnotifier/internal/clients"
|
"gitea.pena/PenaSide/notifier/internal/clients"
|
||||||
"mailnotifier/internal/models"
|
"gitea.pena/PenaSide/notifier/internal/models"
|
||||||
"mailnotifier/internal/repository"
|
"gitea.pena/PenaSide/notifier/internal/repository"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,9 +4,9 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
_ "embed"
|
_ "embed"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"mailnotifier/internal/clients"
|
"gitea.pena/PenaSide/notifier/internal/clients"
|
||||||
"mailnotifier/internal/proto/notifyer"
|
"gitea.pena/PenaSide/notifier/internal/proto/notifyer"
|
||||||
"mailnotifier/internal/repository"
|
"gitea.pena/PenaSide/notifier/internal/repository"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ package workers
|
|||||||
// "context"
|
// "context"
|
||||||
// _ "embed"
|
// _ "embed"
|
||||||
// "go.uber.org/zap"
|
// "go.uber.org/zap"
|
||||||
// "mailnotifier/internal/clients"
|
// "gitea.pena/PenaSide/notifier/internal/clients"
|
||||||
// "mailnotifier/internal/models"
|
// "gitea.pena/PenaSide/notifier/internal/models"
|
||||||
// "mailnotifier/internal/repository"
|
// "gitea.pena/PenaSide/notifier/internal/repository"
|
||||||
//)
|
//)
|
||||||
//
|
//
|
||||||
////go:embed mail/register.tmpl
|
////go:embed mail/register.tmpl
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"mailnotifier/internal/clients"
|
"gitea.pena/PenaSide/notifier/internal/clients"
|
||||||
"mailnotifier/internal/proto/notifyer"
|
"gitea.pena/PenaSide/notifier/internal/proto/notifyer"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/twmb/franz-go/pkg/kgo"
|
"github.com/twmb/franz-go/pkg/kgo"
|
||||||
"mailnotifier/internal/models"
|
"gitea.pena/PenaSide/notifier/internal/models"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
@ -3,9 +3,9 @@ package test
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"mailnotifier/internal/initialize"
|
"gitea.pena/PenaSide/notifier/internal/initialize"
|
||||||
"mailnotifier/internal/models"
|
"gitea.pena/PenaSide/notifier/internal/models"
|
||||||
"mailnotifier/internal/repository"
|
"gitea.pena/PenaSide/notifier/internal/repository"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user