Calcium-Ion / new-api

AI模型接口管理与分发系统,支持将多种大模型转为OpenAI格式调用、支持Midjourney Proxy、Suno、Rerank,兼容易支付协议,仅供个人或者企业内部管理与分发渠道使用,请勿用于商业用途,本项目基于One API二次开发。
https://nekoapi.com
Apache License 2.0
3.28k stars 795 forks source link

编译失败 #184

Closed k0baya closed 6 months ago

k0baya commented 6 months ago

例行检查

问题描述

go build时报错:

controller/topup.go:7:2: github.com/star-horizon/go-epay@v0.0.0-20230204124159-fa2e2293fdc2: invalid version: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/0b772837662ed753ba2fbbc1ae80615c9c2bb24c1b99ede7fdfa3a0be8c1b006: exit status 128:
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
  Confirm the import path was entered correctly.
  If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

经检查,是github.com/star-horizon/go-epay不存在,404。

复现步骤

执行go build

预期结果

编译失败。

Calcium-Ion commented 6 months ago

貌似作者删库了。晚点解决