> For the complete documentation index, see [llms.txt](https://docs.cloudfilt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudfilt.com/integrations/go.md).

# Go

## What is cloudFilt on Go ?

**Go (or Golang)** is a high-level, open-source programming language widely used to build modern web applications, APIs, and backend systems efficiently.

CloudFilt is fully compatible with **Go environments**, integrating bot detection and protection directly into your custom applications — **without any additional downloads**. It helps secure your APIs, filters out malicious traffic, and ensures clean logs and reliable performance.

## Why use cloudFilt on Go ?

CloudFilt on Go helps users to :

* **Prevent and block** bad bots, web scraping, Tor traffic, spam submissions, web fraud, business logic attacks, and DDoS.
* **Inject JavaScript into pages** to track and detect potentially dangerous users.
* **Maintain reliable usage metrics** and ensure accurate monitoring.

## How to activate cloudFilt on Go

1. Login to your **CloudFilt account**.
2. Go to **Websites / WebApps > My Websites**.
3. Click **Settings > Integration & Plugins**.
4. Insert the provided code **before the `<head>` tag** in your HTML code on each page of your website.
5. Add the required **imports** to the Go file containing your handler functions (or to another file in the same package).
6. Insert the provided CloudFilt code at the end of this file.
7. Call the function **`cloudfiltInterception`** at the beginning of every function passed in your handlers.

Once configured, CloudFilt will automatically protect your Go applications, APIs, and web services.
