From b02d2ba479446de6f38fce1e25cec8564ef9010a Mon Sep 17 00:00:00 2001
From: Xe Iaso Hello, if you are reading this, you have found this URL in your access logs. If one of these programs is doing something you don't want them to do, please contact me or open an issue here. Hello, if you are reading this, you have found this URL in your access logs. If one of these programs is doing something you don't want them to do, please contact me or open an issue here. The URL you requested could not be found. Please check your URL and hang up to try your call again. The URL you requested could not be found. Please check your URL and hang up to try your call again. This vanity domain houses a lot of Xe Iaso's custom Go packages. Here is a list of all of the packages currently tracked: This vanity domain houses a lot of Xe Iaso's custom Go packages. Here is a list of all of the packages currently tracked: ")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "\"> ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -189,7 +198,7 @@ func Index(repos []Repo) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
for _, repo := range repos {
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
for _, repo := range repos {
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\">")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -145,7 +154,7 @@ func Index(repos []Repo) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
go get within.website/")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "
go get within.website/")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -202,18 +211,21 @@ func Index(repos []Repo) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- return templ_7745c5c3_Err
+ return nil
})
}
func footer() templ.Component {
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context
+ if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil {
+ return templ_7745c5c3_CtxErr
+ }
templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W)
if !templ_7745c5c3_IsBuffer {
defer func() {
@@ -229,10 +241,12 @@ func footer() templ.Component {
templ_7745c5c3_Var13 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("Need help with these packages? Inquire Within.
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "Need help with these packages? Inquire Within.
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - return templ_7745c5c3_Err + return nil }) } + +var _ = templruntime.GeneratedTemplate diff --git a/cmd/within.website/main.go b/cmd/within.website/main.go index 552d917..28e54ad 100644 --- a/cmd/within.website/main.go +++ b/cmd/within.website/main.go @@ -62,7 +62,7 @@ func (r Repo) RegisterHandlers(mux *http.ServeMux, lg *slog.Logger) { lg.Debug("registered repo handler", "repo", r) } -//go:generate go run github.com/a-h/templ/cmd/templ@latest generate +//go:generate go tool templ generate func main() { internal.HandleStartup() -- cgit v1.2.3