/gobin

A simple pastebin clone written in go and templ.

Primary LanguageGoBSD 4-Clause "Original" or "Old" LicenseBSD-4-Clause

Gobin

A simple pastebin clone written in go and templ.

Installing templ cli

go install github.com/a-h/templ/cmd/templ@latest

Running

templ generate
go run .

Database information

If it displays CGO_ENABLED=0 related error, do:

go env -w CGO_ENABLED=1

You will have to install gcc for it to work. On windows I reccomend using scoop:

scoop install gcc