https://github.com/superfly/fly-go
Go client for the Fly.io API
https://github.com/superfly/fly-go
Last synced: about 1 month ago
JSON representation
Go client for the Fly.io API
- Host: GitHub
- URL: https://github.com/superfly/fly-go
- Owner: superfly
- License: apache-2.0
- Created: 2024-02-12T23:14:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-16T16:15:54.000Z (about 2 months ago)
- Last Synced: 2025-04-20T10:13:15.855Z (about 2 months ago)
- Language: Go
- Size: 328 KB
- Stars: 28
- Watchers: 4
- Forks: 3
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fly-go
======Go client for the Fly.io API. This library is primarily used by [flyctl][] but
it can be used by any project that wants to automate its [Fly.io] deployment.[flyctl]: https://github.com/superfly/flyctl
[Fly.io]: https://fly.io## Development
If you are making changes in another project and need to test `fly-go` changes
locally, you can enable a [Go workspace][]. For example, if you have a directory
structure like this:```
superfly/
├── fly-go
└── flyctl
```Then you can initialize a Go workspace in the `superfly` parent directory and
add your project directories so that `flyctl` can use your local `fly-go`:```sh
go work init
go work use ./flyctl
go work use ./fly-go
```[Go workspace]: https://go.dev/blog/get-familiar-with-workspaces
## Cutting a Release
If you have write access to this repo, you can ship a release with:
`scripts/bump_version.sh`
Or a prerelease with:
`scripts/bump_version.sh prerel`
The release and notes will be created automatically via Github Actions. Follow along in: https://github.com/superfly/fly-go/actions/workflows/release.yml