mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:09 -04:00
go 1.19 interface{} -> any
This commit is contained in:
@@ -23,7 +23,7 @@ type Input interface {
|
||||
// InputPlugin describes an input plugin's consumable interface.
|
||||
type InputPlugin struct {
|
||||
Name string
|
||||
Config interface{} // Each config is passed into an unmarshaller later.
|
||||
Config any // Each config is passed into an unmarshaller later.
|
||||
Input
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user