From e3ea2dcbf1a4fac4484c202220bb38c5b0cab512 Mon Sep 17 00:00:00 2001 From: risotto Date: Sun, 29 Dec 2024 03:40:25 -0700 Subject: [PATCH] init module --- go.mod | 3 +++ guestgen.go | 1 + guestvalid.go | 3 +++ middleware.go | 1 + usergen.go | 1 + uservalid.go | 3 +++ 6 files changed, 12 insertions(+) create mode 100644 go.mod create mode 100644 guestgen.go create mode 100644 guestvalid.go create mode 100644 middleware.go create mode 100644 usergen.go create mode 100644 uservalid.go diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..e179895 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.bivouac.wiki/use/csrf + +go 1.22.5 diff --git a/guestgen.go b/guestgen.go new file mode 100644 index 0000000..a556ab8 --- /dev/null +++ b/guestgen.go @@ -0,0 +1 @@ +package csrf diff --git a/guestvalid.go b/guestvalid.go new file mode 100644 index 0000000..25c9559 --- /dev/null +++ b/guestvalid.go @@ -0,0 +1,3 @@ +package csrf + +// guest routes diff --git a/middleware.go b/middleware.go new file mode 100644 index 0000000..a556ab8 --- /dev/null +++ b/middleware.go @@ -0,0 +1 @@ +package csrf diff --git a/usergen.go b/usergen.go new file mode 100644 index 0000000..a556ab8 --- /dev/null +++ b/usergen.go @@ -0,0 +1 @@ +package csrf diff --git a/uservalid.go b/uservalid.go new file mode 100644 index 0000000..c234108 --- /dev/null +++ b/uservalid.go @@ -0,0 +1,3 @@ +package csrf + +// authenticated routes