mirror of
https://github.com/1f349/violet.git
synced 2024-11-25 21:01:34 +00:00
12 lines
275 B
Go
12 lines
275 B
Go
|
package fake
|
||
|
|
||
|
import "github.com/MrMelon54/violet/utils"
|
||
|
|
||
|
// Compilable implements utils.Compilable and stores if the Compile function
|
||
|
// is called.
|
||
|
type Compilable struct{ Done bool }
|
||
|
|
||
|
func (f *Compilable) Compile() { f.Done = true }
|
||
|
|
||
|
var _ utils.Compilable = &Compilable{}
|