https://github.com/dolmen-go/modfs
https://github.com/dolmen-go/modfs
go golang golang-iofs golang-module goproxy
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dolmen-go/modfs
- Owner: dolmen-go
- License: apache-2.0
- Created: 2025-03-03T16:19:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-06T10:40:52.000Z (about 1 year ago)
- Last Synced: 2025-03-27T14:51:06.828Z (about 1 year ago)
- Topics: go, golang, golang-iofs, golang-module, goproxy
- Language: Go
- Homepage: https://pkg.go.dev/github.com/dolmen-go/modfs
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# modfs - client of the GOPROXY protocol
`modfs` is a Go library that allows to access the source code of [Go modules](https://go.dev/ref/mod)
available via a [GOPROXY](https://go.dev/ref/mod#goproxy-protocol) such as https://proxy.golang.org.
See examples in the [package documentation](https://pkg.go.dev/github.com/dolmen-go/modfs).
The [GOPROXY protocol](https://go.dev/ref/mod#goproxy-protocol).
## Features
From a Go module path:
* access the latest version available on the proxy
* access the list of versions available
* browse the files of the module via an [io/fs.FS](https://pkg.go.dev/io/fs#FS).
## License
```
Copyright 2025 Olivier Mengué
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```