How to Install and Uninstall golang-github-gorilla-csrf-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 11,2024

1. Install "golang-github-gorilla-csrf-dev" package

Please follow the step by step instructions below to install golang-github-gorilla-csrf-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install golang-github-gorilla-csrf-dev

2. Uninstall "golang-github-gorilla-csrf-dev" package

Here is a brief guide to show you how to uninstall golang-github-gorilla-csrf-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove golang-github-gorilla-csrf-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-gorilla-csrf-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: golang-github-gorilla-csrf-dev
Architecture: all
Version: 1.6.2-2
Priority: optional
Section: universe/devel
Source: golang-github-gorilla-csrf
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 81
Depends: golang-github-gorilla-securecookie-dev, golang-github-pkg-errors-dev
Filename: pool/universe/g/golang-github-gorilla-csrf/golang-github-gorilla-csrf-dev_1.6.2-2_all.deb
Size: 17264
MD5sum: 55600f36b2b5ee2fafd32726c3494bd4
SHA1: ec4a398b55b18c0977e535cf64d5d56ecca242b0
SHA256: 6cfef76fd2c6d74857fedcde81468c255aa6c06f94c0883b53074aa52d6dee8f
SHA512: 10aa7e02642582ecf15630697f187e3763c124b63b5cfa676838dc132e1d20d30d8f00f0128e95d7fc7c4d390303c32ffcdfeb245064626b0035e156847dc2e6
Homepage: https://github.com/gorilla/csrf
Description-en: Cross Site Request Forgery (CSRF) prevention middleware for Go
gorilla/csrf is a HTTP middleware library that provides cross-site request
forgery (CSRF) protection. It includes:
.
* The csrf.Protect middleware/handler provides CSRF protection on routes
attached to a router or a sub-router.
* A csrf.Token function that provides the token to pass into your response,
whether that be a HTML form or a JSON response body.
* ... and a csrf.TemplateField helper that you can pass into your
html/template templates to replace a {{ .csrfField }} template tag
with a hidden input field.
.
gorilla/csrf is designed to work with any Go web framework, including:
.
* The Gorilla toolkit
* Go's built-in net/http package
* Goji - see the tailored fork https://github.com/goji/csrf
* Gin
* Echo
* ... and any other router/framework that rallies around Go's http.Handler
interface.
.
gorilla/csrf is also compatible with middleware 'helper' libraries
like Alice and Negroni.
Description-md5: fc24a7a8db94d055ac7fe676d0af8bd6