mirror of
https://github.com/1f349/violet.git
synced 2024-11-12 22:41:39 +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()
|
|
}
|
|
}
|