mirror of
https://github.com/sbrow/ps.git
synced 2025-12-29 18:47:38 -05:00
Added functionality
lib - Save - DoAction - ApplyDataset - GetLayer(s) main - do actions from commandline Improved test cases!
This commit is contained in:
20
structs.go
Normal file
20
structs.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package ps
|
||||
|
||||
// type layer interface {
|
||||
// Name() string
|
||||
// TextItem() []string
|
||||
// }
|
||||
|
||||
type ArtLayer struct {
|
||||
Name string
|
||||
TextItem string
|
||||
Bounds [2][2]string
|
||||
}
|
||||
|
||||
// func (a *ArtLayer) Name() string {
|
||||
// return a.name
|
||||
// }
|
||||
|
||||
// func (a *ArtLayer) TextItem() string {
|
||||
// return a.textItem
|
||||
// }
|
||||
Reference in New Issue
Block a user