mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
Switching to using the main default branch (#1628)
* Switching to using the main default branch * changing links to main branch, not master branch * Changing a few links to relative * Bumping chart version Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f01c645305
commit
c2c5daf61a
@@ -22,7 +22,7 @@ Athens通过将代码从VCS复制到_不可变_存储中来解决这些问题。
|
||||
|
||||
### 逻辑
|
||||
|
||||
go命令行现在可以ping _您自己的服务器_ 来下载依赖项,这意味着您可以编写任何需要的逻辑来提供这种依赖项。包括访问控制(下面将讨论)、添加自定义版本、自定义分支和自定义包等。例如,Athens提供了一个[验证钩子(hook)](https://github.com/gomods/athens/blob/master/config.dev.toml#L127),每个模块下载时都会调用它来确定是否应该下载此模块。因此,您可以用自己的逻辑扩展athens,比如扫描模块路径或代码以查找标红代码等。
|
||||
go命令行现在可以ping _您自己的服务器_ 来下载依赖项,这意味着您可以编写任何需要的逻辑来提供这种依赖项。包括访问控制(下面将讨论)、添加自定义版本、自定义分支和自定义包等。例如,Athens提供了一个[验证钩子(hook)](https://github.com/gomods/athens/blob/main/config.dev.toml#L127),每个模块下载时都会调用它来确定是否应该下载此模块。因此,您可以用自己的逻辑扩展athens,比如扫描模块路径或代码以查找标红代码等。
|
||||
|
||||
|
||||
### 性能
|
||||
|
||||
Reference in New Issue
Block a user