templating: Remove unused lazy code
This commit is contained in:
parent
1c68893a02
commit
46b16e5700
4 changed files with 30 additions and 110 deletions
|
|
@ -21,7 +21,7 @@ type Parsed[C any] struct {
|
|||
// If base is not nil, every template associated with the base template is copied into the given template.
|
||||
// Functions will be applied on creation time to represent the context for the given template.
|
||||
func Parse[C any](name string, source []byte, base *template.Template, funcs ...FlagFunc) Parsed[C] {
|
||||
tp := reflectx.TypeOf[C]()
|
||||
tp := reflectx.MakeType[C]()
|
||||
|
||||
// determine if we have an embedded field in the struct
|
||||
var hasEmbed bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue