This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
summer-utils/api/compilable.go

14 lines
169 B
Go
Raw Permalink Normal View History

2023-04-16 11:56:17 +01:00
package api
type Compilable interface {
Compile()
}
type MultiCompilable []Compilable
func (m MultiCompilable) Compile() {
for _, i := range m {
i.Compile()
}
}