| // Copyright 2018 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Package resultstore is an abstraction over the ResultStore Upload API proto definitions. |
| // |
| // Service is a wrapper around the ResultStoreUpload gRPC service. Each of the entities |
| // in this package wrap individual messages, and convert to and from their counterparts. |
| // These wrappers are more easily filled from user input than raw proto messages. |
| // |
| // See https://github.com/googleapis/googleapis/tree/master/google/devtools/resultstore/v2 |
| // for more details on the proto definitions. |
| // |
| // Run 'go generate ./...' to regenerate mock sources in this package. |
| // |
| //go:generate mockgen -destination=mocks/mocks.go google.golang.org/genproto/googleapis/devtools/resultstore/v2 ResultStoreUploadClient |
| //go:generate mockgen -destination=mock_service.go -source=service.go -package=service Service |
| // |
| // Do not forget to add the Fuchsia copyright header at the top of the generated file. |
| package resultstore |