-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update readmes to announce musl support (#335)
Signed-off-by: Mark Phelps <[email protected]>
- Loading branch information
1 parent
eb32c10
commit 87ba0f7
Showing
3 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Flipt Client Go | ||
|
||
[![Client tag](https://img.shields.io/github/v/tag/flipt-io/flipt-client-go?label=latest)](https://github.com/flipt-io/flipt-client-go) | ||
[![Client tag](https://img.shields.io/github/v/tag/flipt-io/flipt-client-go?filter=v*&label=flipt-client-go)](https://github.com/flipt-io/flipt-client-go) | ||
[![Client tag (musl)](https://img.shields.io/github/v/tag/flipt-io/flipt-client-go?filter=musl-v*&label=flipt-client-go-musl)](https://github.com/flipt-io/flipt-client-go) | ||
[![Go Reference](https://pkg.go.dev/badge/go.flipt.io/flipt-client.svg)](https://pkg.go.dev/go.flipt.io/flipt-client) | ||
|
||
The `flipt-client-go` library contains the Go source code for the Flipt [client-side evaluation](https://www.flipt.io/docs/integration/client) client. | ||
|
@@ -16,10 +17,25 @@ go get go.flipt.io/flipt-client | |
This SDK currently supports the following OSes/architectures: | ||
|
||
- Linux x86_64 | ||
- Linux x86_64 (musl) | ||
- Linux arm64 | ||
- Linux arm64 (musl) | ||
- MacOS x86_64 | ||
- MacOS arm64 | ||
|
||
|
||
### Glibc vs Musl | ||
|
||
Most Linux distributions use [Glibc](https://en.wikipedia.org/wiki/Glibc), but some distributions like Alpine Linux use [Musl](https://en.wikipedia.org/wiki/Musl). If you are using Alpine Linux, you will need to install the `musl` tagged version of the client. | ||
|
||
Example: | ||
|
||
```bash | ||
go install go.flipt.io/[email protected] | ||
``` | ||
|
||
See [flipt-client-sdks #141](https://github.com/flipt-io/flipt-client-sdks/issues/141) for more information. | ||
|
||
## Usage | ||
|
||
In your Go code you can import this client and use it as so: | ||
|