gofmt vendored files
This commit is contained in:
parent
cc95ec83e7
commit
0111ec3247
2 changed files with 28 additions and 35 deletions
2
vendor/github.com/beorn7/perks/quantile/stream.go
generated
vendored
2
vendor/github.com/beorn7/perks/quantile/stream.go
generated
vendored
|
@ -9,7 +9,7 @@
|
||||||
//
|
//
|
||||||
// For more detailed information about the algorithm used, see:
|
// For more detailed information about the algorithm used, see:
|
||||||
//
|
//
|
||||||
// Effective Computation of Biased Quantiles over Data Streams
|
// # Effective Computation of Biased Quantiles over Data Streams
|
||||||
//
|
//
|
||||||
// http://www.cs.rutgers.edu/~muthu/bquant.pdf
|
// http://www.cs.rutgers.edu/~muthu/bquant.pdf
|
||||||
package quantile
|
package quantile
|
||||||
|
|
11
vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go
generated
vendored
11
vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go
generated
vendored
|
@ -36,8 +36,7 @@
|
||||||
// The Timestamp message represents a timestamp,
|
// The Timestamp message represents a timestamp,
|
||||||
// an instant in time since the Unix epoch (January 1st, 1970).
|
// an instant in time since the Unix epoch (January 1st, 1970).
|
||||||
//
|
//
|
||||||
//
|
// # Conversion to a Go Time
|
||||||
// Conversion to a Go Time
|
|
||||||
//
|
//
|
||||||
// The AsTime method can be used to convert a Timestamp message to a
|
// The AsTime method can be used to convert a Timestamp message to a
|
||||||
// standard Go time.Time value in UTC:
|
// standard Go time.Time value in UTC:
|
||||||
|
@ -59,8 +58,7 @@
|
||||||
// ... // handle error
|
// ... // handle error
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
//
|
// # Conversion from a Go Time
|
||||||
// Conversion from a Go Time
|
|
||||||
//
|
//
|
||||||
// The timestamppb.New function can be used to construct a Timestamp message
|
// The timestamppb.New function can be used to construct a Timestamp message
|
||||||
// from a standard Go time.Time value:
|
// from a standard Go time.Time value:
|
||||||
|
@ -72,7 +70,6 @@
|
||||||
//
|
//
|
||||||
// ts := timestamppb.Now()
|
// ts := timestamppb.Now()
|
||||||
// ... // make use of ts as a *timestamppb.Timestamp
|
// ... // make use of ts as a *timestamppb.Timestamp
|
||||||
//
|
|
||||||
package timestamppb
|
package timestamppb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -133,7 +130,6 @@ import (
|
||||||
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
||||||
// .setNanos((int) ((millis % 1000) * 1000000)).build();
|
// .setNanos((int) ((millis % 1000) * 1000000)).build();
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// Example 5: Compute Timestamp from Java `Instant.now()`.
|
// Example 5: Compute Timestamp from Java `Instant.now()`.
|
||||||
//
|
//
|
||||||
// Instant now = Instant.now();
|
// Instant now = Instant.now();
|
||||||
|
@ -142,7 +138,6 @@ import (
|
||||||
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
||||||
// .setNanos(now.getNano()).build();
|
// .setNanos(now.getNano()).build();
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// Example 6: Compute Timestamp from current time in Python.
|
// Example 6: Compute Timestamp from current time in Python.
|
||||||
//
|
//
|
||||||
// timestamp = Timestamp()
|
// timestamp = Timestamp()
|
||||||
|
@ -174,8 +169,6 @@ import (
|
||||||
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
// the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
||||||
// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
||||||
// ) to obtain a formatter capable of generating timestamps in this format.
|
// ) to obtain a formatter capable of generating timestamps in this format.
|
||||||
//
|
|
||||||
//
|
|
||||||
type Timestamp struct {
|
type Timestamp struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
|
|
Loading…
Reference in a new issue