changed map+rwMutext to sync.Map

This commit is contained in:
2023-03-01 15:06:11 +01:00
parent 72857882e4
commit aaad68a42c
5 changed files with 63 additions and 68 deletions

View File

@@ -17,10 +17,6 @@ import (
var db MemoryDB
func init() {
db.New()
}
func RunBlocking(ctx context.Context) {
fe := ctx.Value("frontend").(fs.SubFS)
port := ctx.Value("port").(int)