add opts config for engine and reorganized files

This commit is contained in:
2024-11-14 07:18:58 +01:00
parent 5f0dee29e2
commit dc48e215ec
3 changed files with 91 additions and 49 deletions
+2 -2
View File
@@ -33,9 +33,9 @@ func Test_HTMLRender(t *testing.T) {
tests := []struct {
name string
arg OptionFunc
arg RenderOptions
}{
{"Empty OptionFunc", OptionFunc(func(r *Render) {})},
{"Empty OptionFunc", RenderOptions(func(r *Render) {})},
{"Nil", nil},
}