Skip to content

Commit

Permalink
chore: carve out sub-modules (#4635)
Browse files Browse the repository at this point in the history
This commit will be tagged:

v0.92.3
cloudbuild/v0.1.0
monitoring/v0.1.0
secretmanager/v0.1.0
video/v0.1.0
security/v0.1.0
gkehub/v0.1.0
gkeconnect/v0.1.0
area120/v0.1.0
analytics/v0.1.0
  • Loading branch information
codyoss committed Aug 17, 2021
1 parent 472f7dc commit 778763f
Show file tree
Hide file tree
Showing 51 changed files with 6,111 additions and 1 deletion.
6 changes: 6 additions & 0 deletions analytics/CHANGES.md
@@ -0,0 +1,6 @@
# Changes

## v0.1.0

This is the first tag to carve out analytics as its own module. See
[Add a module to a multi-module repository](https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository).
40 changes: 40 additions & 0 deletions analytics/README.md
@@ -0,0 +1,40 @@
# Analytics API

[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/analytics.svg)](https://pkg.go.dev/cloud.google.com/go/analytics)

Go Client Library for Analytics API.

## Install

```bash
go get cloud.google.com/go/analytics
```

## Stability

The stability of this module is indicated by SemVer.

However, a `v1+` module may have breaking changes in two scenarios:

* Packages with `alpha` or `beta` in the import path
* The GoDoc has an explicit stability disclaimer (for example, for an experimental feature).

## Go Version Support

See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported)
section in the root directory's README.

## Authorization

See the [Authorization](https://github.com/googleapis/google-cloud-go#authorization)
section in the root directory's README.

## Contributing

Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/CONTRIBUTING.md)
document for details.

Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms. See
[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/CONTRIBUTING.md#contributor-code-of-conduct)
for more information.
12 changes: 12 additions & 0 deletions analytics/go.mod
@@ -0,0 +1,12 @@
module cloud.google.com/go/analytics

go 1.16

require (
cloud.google.com/go v0.92.3
github.com/googleapis/gax-go/v2 v2.0.5
google.golang.org/api v0.54.0
google.golang.org/genproto v0.0.0-20210813162853-db860fec028c
google.golang.org/grpc v1.39.1
google.golang.org/protobuf v1.27.1
)
528 changes: 528 additions & 0 deletions analytics/go.sum

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions analytics/go_mod_tidy_hack.go
@@ -0,0 +1,22 @@
// Copyright 2021 Google LLC
//
// 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.

// This file, and the cloud.google.com/go import, won't actually become part of
// the resultant binary.
// +build modhack

package analytics

// Necessary for safely adding multi-module repo. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository
import _ "cloud.google.com/go"
6 changes: 6 additions & 0 deletions area120/CHANGES.md
@@ -0,0 +1,6 @@
# Changes

## v0.1.0

This is the first tag to carve out area120 as its own module. See
[Add a module to a multi-module repository](https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository).
40 changes: 40 additions & 0 deletions area120/README.md
@@ -0,0 +1,40 @@
# Area120 API

[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/area120.svg)](https://pkg.go.dev/cloud.google.com/go/area120)

Go Client Library for Area120 API.

## Install

```bash
go get cloud.google.com/go/area120
```

## Stability

The stability of this module is indicated by SemVer.

However, a `v1+` module may have breaking changes in two scenarios:

* Packages with `alpha` or `beta` in the import path
* The GoDoc has an explicit stability disclaimer (for example, for an experimental feature).

## Go Version Support

See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported)
section in the root directory's README.

## Authorization

See the [Authorization](https://github.com/googleapis/google-cloud-go#authorization)
section in the root directory's README.

## Contributing

Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/CONTRIBUTING.md)
document for details.

Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms. See
[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/CONTRIBUTING.md#contributor-code-of-conduct)
for more information.
12 changes: 12 additions & 0 deletions area120/go.mod
@@ -0,0 +1,12 @@
module cloud.google.com/go/area120

go 1.16

require (
cloud.google.com/go v0.92.3
github.com/googleapis/gax-go/v2 v2.0.5
google.golang.org/api v0.54.0
google.golang.org/genproto v0.0.0-20210813162853-db860fec028c
google.golang.org/grpc v1.39.1
google.golang.org/protobuf v1.27.1
)

0 comments on commit 778763f

Please sign in to comment.