fix:add more export function for struct Clipboard
This commit is contained in:
parent
c4ecfd09ec
commit
7dafa52e7a
32
def.go
32
def.go
@ -30,6 +30,38 @@ type Clipboard struct {
|
||||
hash string
|
||||
}
|
||||
|
||||
func (c *Clipboard) WinOriginTypes() []string {
|
||||
return c.winOriginTypes
|
||||
}
|
||||
|
||||
func (c *Clipboard) Date() time.Time {
|
||||
return c.date
|
||||
}
|
||||
|
||||
func (c *Clipboard) Platform() string {
|
||||
return c.platform
|
||||
}
|
||||
|
||||
func (c *Clipboard) SecondaryOriType() string {
|
||||
return c.secondaryOriType
|
||||
}
|
||||
|
||||
func (c *Clipboard) SecondaryType() FileType {
|
||||
return c.secondaryType
|
||||
}
|
||||
|
||||
func (c *Clipboard) SecondaryData() []byte {
|
||||
return c.secondaryData
|
||||
}
|
||||
|
||||
func (c *Clipboard) PrimaryOriType() string {
|
||||
return c.primaryOriType
|
||||
}
|
||||
|
||||
func (c *Clipboard) PrimaryData() []byte {
|
||||
return c.primaryData
|
||||
}
|
||||
|
||||
// format represents the format of clipboard data.
|
||||
type format int
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user