Skip to content

Commit bcbf451

Browse files
committed
fix #26
1 parent a62ef62 commit bcbf451

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

twig.go

+7-5
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,11 @@ func (t *Twig) SetType(typ string) {
229229
}
230230

231231
// Config 返回装配接口
232-
func (t *Twig) Config() Assembler {
233-
return &target{
234-
PluginHelper: t,
235-
Register: t.muxes.def,
236-
}
232+
func (t *Twig) Config() *Conf {
233+
return Config(
234+
&target{
235+
PluginHelper: t,
236+
Register: t.muxes.def,
237+
},
238+
)
237239
}

0 commit comments

Comments
 (0)