diff options
| author | Max Resnick <max@ofmax.li> | 2025-08-01 22:10:20 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-09-06 21:47:16 -0700 |
| commit | df0a52f53739a1bc05620f3f21533922488c0491 (patch) | |
| tree | b5c201bbf214a93d8ed934492bd888e8fc8a1388 /internal/admin | |
| parent | 462bfd8fc9707a5eae3233e69f5b8a522972ed74 (diff) | |
| download | go-git-server-df0a52f53739a1bc05620f3f21533922488c0491.tar.gz | |
feat: go-module support1.0.4-latest.df0a52f.11
Diffstat (limited to 'internal/admin')
| -rw-r--r-- | internal/admin/model.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/admin/model.go b/internal/admin/model.go index 25262de..0740e1d 100644 --- a/internal/admin/model.go +++ b/internal/admin/model.go @@ -79,6 +79,8 @@ type GitRepo struct { Public bool `json:"public"` // Name game of repository Name string `json:"name"` + // GoModule indicates if this repo should be exposed as a Go module proxy + GoModule bool `json:"go_module"` // Web config settings GitWebConfig *GitWeb `json:"git_web_config"` // Permissions for authorization |