# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudfilt.com/integrations/go.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
