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