Запустите main.go не удалось недопустимый символ '<' ищет начало значения
Мне нужно восстановить код человека, который уволился из моей компании, а я новичок в Go. Нет файла go.mod. В ридми написано:
Чтобы запустить сервер, выполните следующие простые шаги:
go run main.go
➜ encryption-key-manager-api git:(master) ✗ go run main.go
go: finding module for package diebold.nixdorf/gitlab/mosel-linux/core-app/bin/encryption-key-manager/api
go: finding module for package github.com/rs/cors
go: finding module for package github.com/go-sql-driver/mysql
go: finding module for package google.golang.org/grpc
go: finding module for package github.com/golang/protobuf/ptypes
go: finding module for package github.com/prometheus/client_golang/prometheus
go: finding module for package github.com/gorilla/mux
go: finding module for package github.com/uber/jaeger-client-go/config
go: finding module for package github.com/pkg/errors
go: finding module for package github.com/golang/protobuf/ptypes/timestamp
go: finding module for package github.com/grpc-ecosystem/go-grpc-prometheus
go: finding module for package github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc
go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp
go: finding module for package github.com/grpc-ecosystem/go-grpc-middleware
go: finding module for package github.com/opentracing/opentracing-go
go: finding module for package github.com/uber/jaeger-client-go
go: finding module for package github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing
go: finding module for package github.com/mbobakov/grpc-consul-resolver
go: finding module for package github.com/hashicorp/consul/api
go: finding module for package google.golang.org/grpc/health/grpc_health_v1
go/keys_api.go:27:2: module diebold.nixdorf/gitlab/mosel-linux/core-app/bin/encryption-key-manager/api: invalid character '<' looking for beginning of value
../../pkg/database/card/mysql/connexion.go:8:2: module github.com/go-sql-driver/mysql: invalid character '<' looking for beginning of value
../../pkg/grpc/key/conversion.go:8:2: module github.com/golang/protobuf/ptypes: invalid character '<' looking for beginning of value
go/keys_api.go:28:2: module github.com/golang/protobuf/ptypes/timestamp: invalid character '<' looking for beginning of value
go/routers.go:19:2: module github.com/gorilla/mux: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/grpc.go:15:2: module github.com/grpc-ecosystem/go-grpc-middleware: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/jaeger/grpc.go:14:2: module github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/prometheus/grpc.go:13:2: module github.com/grpc-ecosystem/go-grpc-prometheus: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/jaeger/grpc.go:15:2: module github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/consul/server.go:11:2: module github.com/hashicorp/consul/api: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/consul/client.go:4:2: module github.com/mbobakov/grpc-consul-resolver: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/jaeger/grpc.go:16:2: module github.com/opentracing/opentracing-go: invalid character '<' looking for beginning of value
../../pkg/database/encryption/encrypted.go:9:2: module github.com/pkg/errors: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/prometheus/grpc.go:14:2: module github.com/prometheus/client_golang/prometheus: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/prometheus/grpc.go:15:2: module github.com/prometheus/client_golang/prometheus/promhttp: invalid character '<' looking for beginning of value
main.go:24:2: module github.com/rs/cors: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/jaeger/grpc.go:17:2: module github.com/uber/jaeger-client-go: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/jaeger/grpc.go:18:2: module github.com/uber/jaeger-client-go/config: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/consul/client.go:5:2: module google.golang.org/grpc: invalid character '<' looking for beginning of value
../../pkg/autoconfig/env/consul/server.go:14:2: module google.golang.org/grpc/health/grpc_health_v1: invalid character '<' looking for beginning of value
У меня нет go.mod, это часть большого приложения, я просто хочу запустить эту программу.
Не стесняйтесь спрашивать меня, если вам нужна дополнительная информация.
Заранее спасибо, если вы попытаетесь мне помочь, я заблокирован.