1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2025-01-06 01:23:15 +02:00

сделал constants_

This commit is contained in:
Nikitin Aleksandr 2024-05-14 10:33:08 +03:00
parent a12fd069c5
commit 44b71d1530

View File

@ -8,9 +8,9 @@ import (
"github.com/ManyakRus/starter/port_checker"
"github.com/ManyakRus/starter/stopapp"
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/api/grpc_proto"
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/pkg/db/constants"
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/pkg/network/grpc/grpc_constants"
"gitlab.aescorp.ru/dsp_dev/claim/sync_service/pkg/network/nrpc/nrpc_client"
"gitlab.aescorp.ru/dsp_dev/claim/notifier_service/pkg/db/db_constants"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
"os"
@ -185,7 +185,7 @@ func IsRecordNotFound(err error) bool {
}
TextErr := err.Error()
pos1 := strings.Index(TextErr, constants.TEXT_RECORD_NOT_FOUND)
pos1 := strings.Index(TextErr, db_constants.TEXT_RECORD_NOT_FOUND)
if pos1 >= 0 {
Otvet = true
}