aboutsummaryrefslogtreecommitdiff
path: root/wsp.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* {wsp,wsx}.go: Move comment about RFC1459-like message formatRunxi Yu2024-10-091-0/+23
|
* *.go: Use sync.Map instead of map[int]*courseT for coursesRunxi Yu2024-10-091-3/+12
| | | | I'm not sure whether this is actually better than locking.
* {courses,wsc,wsp}.go: Usems should be sync.MapRunxi Yu2024-10-091-4/+8
| | | | | This is a classic few-reads, many-writes situation where a sync.Map would lead to substantially less lock contention.
* {courses,wsm,wsp}.go: Make course.Selected atomicRunxi Yu2024-10-071-7/+3
|
* *.go: Limit to approximately 80 characters per lineRunxi Yu2024-10-061-3/+14
|
* {courses,wsc,wsm,wsp}.go: Send course number immediately on user interactionRunxi Yu2024-10-061-0/+15
|
* *: Overhaul structure again and embed everythingRunxi Yu2024-10-061-0/+85
| | | | | | | | - Remove sub-Makefiles; recursive make is annoying - Just use one top-level Makefile that builds everything - Embed templates and minified static resources into the binary - Embed all compiled documentation into the binary and serve - Embed all source into the binary and serve
* *.go: Move to backendRunxi Yu2024-10-051-85/+0
| | | | And adjust Makefiles, admin handbook, and lint.sh accordingly.
* {,u}sem.go, ws*.go: Restructure filesRunxi Yu2024-10-051-0/+85