ref: a396b155400c425ab99e147f2a76023e0d78221b dummy/cmd/dummyserver/main.go -rw-r--r-- 3.1 KiB
Rename main cmd to dummyserver
Separate API from base package
Add text rendering
Normalize in opt.FromForm directly
Make naming more consistent
Move image generation to image.go, extract drawDiagonal
Add pattern option, set move defaults to options.go
Add deepcopy func for opts

So that default options stay the same
Add Desc to Options, move Options to options.go
Add some ogp types
Separate options logic into their own file, add comments
Add web/ endpoint
Move Hex() to utils.go, add a comment
Separate options logic into their own functions