mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-27 08:58:28 +00:00
93a04158fd
gvt fetch -a, because we need the protobuf files etc for regeneration
20 lines
460 B
Go
20 lines
460 B
Go
package issue260
|
|
|
|
import "time"
|
|
|
|
type Dropped struct {
|
|
Name string
|
|
Age int32
|
|
}
|
|
|
|
func (d *Dropped) Drop() bool {
|
|
return true
|
|
}
|
|
|
|
type DroppedWithoutGetters struct {
|
|
Width int64
|
|
Height int64
|
|
Timestamp time.Time `protobuf:"bytes,3,opt,name=timestamp,stdtime" json:"timestamp"`
|
|
NullableTimestamp *time.Time `protobuf:"bytes,4,opt,name=nullable_timestamp,json=nullableTimestamp,stdtime" json:"nullable_timestamp,omitempty"`
|
|
}
|