как скомпилировать код с гитхаб
хочу установить https://github.com/v2ray/v2ray-core?tab=coc-ov-file . в целом мне вообще не хватает понимания что я делаю, пробовал через go build выдает
no required module provides package v2ray.go: go.mod file not found in current
directory or any parent directory; see 'go help modules'.
что дел? винда
Ответы (1 шт):
Автор решения: Vitaly
→ Ссылка
Склонировать проект и зайти в папку. Для продолжения нужен установленный docker.
точка в команде - путь к файлу Dockerfile
v2ray - просто название
docker build -t v2ray .
а дальше
docker run v2ray
будут выведены параметры для работы с программой
flag provided but not defined: -config A unified platform for anti-censorship.
Usage:
v2ray <command> [arguments]
The commands are:
run run V2Ray with config
api call V2Ray API
convert convert config files
test test config files
tls TLS tools
uuid generate new UUID
verify verify if a binary is officially signed
version print V2Ray version
Use "v2ray help " for more information about a command.
Additional help topics:
config-merge config merge logic
format-loader config formats and loading
Use "v2ray help " for more information about that topic.