Defined the "render(_: on: )" function for the TemplateServicing protocol in the library target.
This commit is contained in:
parent
8bc446ca68
commit
bc765705a8
7
Library/Sources/Public/Protocols/TemplateServicing.swift
Normal file
7
Library/Sources/Public/Protocols/TemplateServicing.swift
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
public protocol TemplateServicing {
|
||||||
|
|
||||||
|
// MARK: Functions
|
||||||
|
|
||||||
|
func render(_ object: Any, on template: String) async throws (RenderServiceError) -> String
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user