feat: aplicação inicial — gerenciador de notas web estilo Mousepad
- Backend Go: API REST, auth por token (Bearer + cookie HttpOnly), storage em disco com revisões content-addressed (estilo Git: hash, autor, data, diff, restauração) - Editor txt/md/html com preview, tags #tag, categorias, painel de histórico - Preferências: números de linha, marcador de coluna (padrão 80), quebra de linha, fonte/tamanho, 4 temas e colorização de sintaxe (overlay no textarea) - Frontend vanilla embutido via go:embed; Dockerfile multi-stage + docker-compose
This commit is contained in:
commit
9bc5de4c56
22 files changed
+4239
No files matched your search
@@ -0,0 +1,9 @@
|
||||
// Package web embute o frontend estático no binário Go.
|
||||
package web
|
||||
|
||||
import "embed"
|
||||
|
||||
// FS contém index.html, css/ e js/ na raiz.
|
||||
//
|
||||
//go:embed index.html css js
|
||||
var FS embed.FS
|
||||
Reference in new issue
Block a user