From d478461c9383d2ba5dbec755f3f27249abafce49 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Sat, 13 Sep 2025 17:26:31 -0600 Subject: [PATCH] added .gitignore --- .gitignore | 1 + ui/amcontext.go | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f8718f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +amsterdam diff --git a/ui/amcontext.go b/ui/amcontext.go index 673c75d..93b23e2 100644 --- a/ui/amcontext.go +++ b/ui/amcontext.go @@ -24,14 +24,14 @@ type amContext struct { httprc int } -func (c *amContext) Render(name string) error { - return c.echoContext.Render(c.httprc, name, c) -} - func (c *amContext) SetRC(rc int) { c.httprc = rc } +func (c *amContext) Render(name string) error { + return c.echoContext.Render(c.httprc, name, c) +} + func NewAmContext(ctxt echo.Context) AmContext { rc := amContext{ echoContext: ctxt,