Resolve the immutable Beta 1 runtime first, verify the exact compiler identity on Linux and Windows, and commit generated outputs from the released ABI. Material implementation and review were assisted by OpenAI Codex. Cole Speelman reviewed the public tutorial and accepts human responsibility. Signed-off-by: Cole Speelman <crspeelman@gmail.com>
38 lines
1.3 KiB
Go
Generated
38 lines
1.3 KiB
Go
Generated
// Code generated by himesan; DO NOT EDIT.
|
|
// himesan:compiler v1.0.0-beta.1
|
|
// himesan:runtime-abi sando.v1
|
|
// himesan:source-sha256 241093d3b845d20c38e5a0fe5cf2213d6bb9114138818dbe98d8b3a99ff19d24
|
|
|
|
package views
|
|
|
|
import (
|
|
__himesan_context "context"
|
|
__himesan_sando "gamertan.com/sandwich-hime/sando"
|
|
__himesan_io "io"
|
|
)
|
|
|
|
var _ = __himesan_sando.ABISandoV1
|
|
|
|
func Badge(label string) __himesan_sando.Component {
|
|
return __himesan_sando.ComponentFunc(func(__himesan_render_context __himesan_context.Context, __himesan_writer __himesan_io.Writer) error {
|
|
_ = __himesan_render_context
|
|
//line internal/views/badge.sando:5:3
|
|
if __himesan_error := __himesan_sando.WriteString(__himesan_writer, "\n"); __himesan_error != nil {
|
|
return __himesan_error
|
|
}
|
|
//line internal/views/badge.sando:6:37
|
|
if __himesan_error := __himesan_sando.WriteString(__himesan_writer, "\n<span class=\"badge\">"); __himesan_error != nil {
|
|
return __himesan_error
|
|
}
|
|
//line internal/views/badge.sando:7:25
|
|
if __himesan_error := __himesan_sando.WriteText(__himesan_writer, (label)); __himesan_error != nil {
|
|
return __himesan_error
|
|
}
|
|
//line internal/views/badge.sando:7:33
|
|
if __himesan_error := __himesan_sando.WriteString(__himesan_writer, "</span>\n"); __himesan_error != nil {
|
|
return __himesan_error
|
|
}
|
|
return nil
|
|
})
|
|
}
|