MCPcopy
hub / github.com/edoardottt/cariddi / BannerFooterHTML

Function BannerFooterHTML

pkg/output/html.go:222–234  ·  view source on GitHub ↗

BannerFooterHTML appends the final footer.

(filename string)

Source from the content-addressed store, hash-verified

220
221// BannerFooterHTML appends the final footer.
222func BannerFooterHTML(filename string) {
223 file, err := os.OpenFile(filename, os.O_APPEND|os.O_WRONLY, fileUtils.Permission0644)
224 if err != nil {
225 log.Println(err)
226 }
227
228 _, err = file.WriteString(HTMLBannerFooter)
229 if err != nil {
230 log.Fatal(err)
231 }
232
233 file.Close()
234}

Callers 1

HTMLOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected