started refactoring into executors using interfaces
This commit is contained in:
1 parent
7fe07f86a9
commit
d45b1562fc
10 files changed
+547
-403
No files matched your search
@@ -12,7 +12,7 @@ type RemoteFetcher interface {
|
||||
|
||||
// Parse decodes the raw data into a Go structure (e.g., Commands, CommandLists)
|
||||
// Takes the raw data as input and populates the target interface
|
||||
Parse(data []byte, target interface{}) error
|
||||
Parse(data []byte, target any) error
|
||||
|
||||
// Hash returns the hash of the configuration data
|
||||
Hash(data []byte) string
|
||||
|
||||
Reference in new issue
Block a user