mirror of
https://github.com/1f349/lotus.git
synced 2024-12-22 16:14:07 +00:00
13 lines
197 B
Go
13 lines
197 B
Go
package map_provider
|
|
|
|
type Variable struct {
|
|
Name string
|
|
Value MapProvider
|
|
}
|
|
|
|
func (v *Variable) Find(name string) (string, bool) {
|
|
return v.Value.Find(name)
|
|
}
|
|
|
|
var _ MapProvider = &Variable{}
|