在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:google/go-cloud开源软件地址:https://github.com/google/go-cloud开源编程语言:Go 96.1%开源软件介绍:The Go Cloud Development Kit (Go CDK)Write once, run on any cloud The Go Cloud Development Kit (Go CDK) allows Go application developers to
seamlessly deploy cloud applications on any combination of cloud providers. It
does this by providing stable, idiomatic interfaces for common uses like storage
and databases. Think Imagine writing this to read from blob storage (like Google Cloud Storage or S3): ctx := context.Background()
bucket, err := blob.OpenBucket(ctx, "s3://my-bucket")
if err != nil {
return err
}
defer bucket.Close()
blobReader, err := bucket.NewReader(ctx, "my-blob", nil)
if err != nil {
return err
} and being able to run that code on any cloud you want, avoiding all the ceremony of cloud-specific authorization, tracing, SDKs and all the other code required to make an application portable across cloud platforms. The project works well with a code generator called
Wire. It creates
human-readable code that only imports the cloud SDKs for services you use. This
allows the Go CDK to grow to support any number of cloud services, without
increasing compile times or binary sizes, and avoiding any side effects from
You can learn more about the project from our announcement blog post, or our talk at Next 2018: Installation# First "cd" into your project directory if you have one to ensure "go get" uses
# Go modules (or not) appropriately. See "go help modules" for more info.
go get gocloud.dev The Go CDK builds at the latest stable release of Go. Previous Go versions may compile but are not supported. DocumentationDocumentation for the project lives primarily on https://gocloud.dev/, including tutorials. You can also browse Go package reference on pkg.go.dev. Project statusThe APIs are still in alpha, but we think they are production-ready and are actively looking for feedback from early adopters. If you have comments or questions please open an issue. At this time we prefer to focus on maintaining the existing APIs and drivers,
and are unlikely to accept new ones into the If you have a new API or driver that you believe are important and mature enough to be included, feel free to open an issue to discuss this; our default will likely be to suggest starting in a separate repository. We'll also be happy to maintain a list of such external APIs and drivers in this README. Current featuresThe Go CDK provides generic APIs for:
ContributingThank you for your interest in contributing to the Go Cloud Development
Kit! Everyone is welcome to contribute, whether it's in the form of code, documentation, bug reports, feature requests, or anything else. We encourage you to experiment with the Go CDK and make contributions to help evolve it to meet your needs! The GitHub repository at google/go-cloud contains some driver implementations for each portable API. We intend to include Google Cloud Platform, Amazon Web Services, and Azure implementations, as well as prominent open source services and at least one implementation suitable for use in local testing. Unfortunately, we cannot support every service directly from the project; however, we encourage contributions in separate repositories. If you create a repository that implements the Go CDK interfaces for other services, let us know! We would be happy to link to it here and give you a heads-up before making any breaking changes. See the contributing guide for more details. CommunityThis project is covered by the Go Code of Conduct. Legal disclaimerThe Go CDK is open-source and released under an Apache 2.0 License. Copyright © 2018–2019 The Go Cloud Development Kit Authors. If you are looking for the website of GoCloud Systems, which is unrelated to the Go CDK, visit https://gocloud.systems. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论