mirror of
https://github.com/1f349/violet.git
synced 2024-11-09 14:12:58 +00:00
14 lines
171 B
Go
14 lines
171 B
Go
|
package utils
|
||
|
|
||
|
type Compilable interface {
|
||
|
Compile()
|
||
|
}
|
||
|
|
||
|
type MultiCompilable []Compilable
|
||
|
|
||
|
func (m MultiCompilable) Compile() {
|
||
|
for _, i := range m {
|
||
|
i.Compile()
|
||
|
}
|
||
|
}
|