Changeset 148 in code for trunk/cmd


Ignore:
Timestamp:
Mar 21, 2024, 11:19:06 AM (15 months ago)
Author:
Izuru Yakumo
Message:

Merge safe values into a single source file, also skip fmt.Println() altogether for yukari.FullVersion()

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

Location:
trunk/cmd/yukari
Files:
1 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmd/yukari/main.go

    r147 r148  
    874874        ctx.SetStatusCode(403)
    875875        ctx.Write([]byte(YUKARI_HTML_PAGE_START))
    876         ctx.Write([]byte("<h2>You are about to exit YukariSukima</h2>"))
     876        ctx.Write([]byte("<h2>You are about to exit Yukari no Sukima</h2>"))
    877877        ctx.Write([]byte("<p>Following</p><p><a href=\""))
    878878        ctx.Write([]byte(html.EscapeString(uri.String())))
     
    934934
    935935        if version {
    936                 fmt.Println(yukari.FullVersion())
     936                yukari.FullVersion()
    937937                return
    938938        }
Note: See TracChangeset for help on using the changeset viewer.