Formats all protobuf files with buf format. This ensures a consistent style across all our protobuf files, similar to gofumpt.
17 lines
533 B
Protocol Buffer
17 lines
533 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package controller.storage.timestamp.v1;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
option go_package = "github.com/hashicorp/boundary/internal/db/timestamp;timestamp";
|
|
|
|
// Timestamp for storage messages. We've defined a new local type wrapper
|
|
// of google.protobuf.Timestamp so we can implement sql.Scanner and sql.Valuer
|
|
// interfaces. See:
|
|
// https://golang.org/pkg/database/sql/#Scanner
|
|
// https://golang.org/pkg/database/sql/driver/#Valuer
|
|
message Timestamp {
|
|
google.protobuf.Timestamp timestamp = 1;
|
|
}
|