c8288f5a77
refactor: apply Go standards, update deps, rename UUID to PasteID
2026-03-09 06:02:13 +00:00
25f66bb589
feat: modernize codebase and complete API surface
...
- Update module path from prologic/pastebin to taigrr/pastebin
- Replace go.rice with stdlib embed for templates and static assets
- Replace httprouter with stdlib net/http ServeMux (Go 1.22+)
- Replace namsral/flag with cobra + fang for CLI argument parsing
- Fix inverted TLS insecure logic in client (was negating the flag)
- Close HTTP response body in client
- Use base64 URLEncoding instead of StdEncoding for paste IDs
- Add comprehensive handler tests for all endpoints
- Add client package tests
- Add utils tests for RandomString
- Remove templates.go (replaced by embed)
- Remove unused dependencies (go-metrics, stats, logger, httprouter, go.rice)
2026-03-09 05:44:08 +00:00
1d522cc054
Add delete functionality ( #13 )
2021-04-21 07:25:57 +10:00
5ade7a0642
Fix pb utility ( #16 )
...
* Update dependencies and go compile target version
* Adds deletion support to the server
* Add form around delete button
* Add support for returning the url in curl
* remove -config option for now
* Upload as form value instead of file
* remove dependencies from go mod
* update to README re: new curl usage
2021-04-20 23:20:39 +10:00
3e081f0aa0
Refacted, new look and raw download feature
2017-07-09 01:57:21 -07:00
3c42d7d878
Initial Commit
2017-07-02 23:42:34 -07:00