This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Privacy Policy | |
| Last updated: February 8, 2026 | |
| Introduction | |
| This Privacy Policy describes how Tick Tock App ("we", "our", or "us") collects, uses, and protects user information when you use our application. | |
| By using the application, you agree to the collection and use of information in accordance with this policy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from concurrent.futures import ThreadPoolExecutor | |
| from math import sqrt | |
| import cv2 | |
| import mediapipe as mp | |
| import psutil | |
| from entities.mouse import Mouse | |
| from win32api import GetSystemMetrics | |
| grabSize = 50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rom concurrent.futures import ThreadPoolExecutor | |
| from math import sqrt | |
| import cv2 | |
| import mediapipe as mp | |
| import psutil | |
| from entities.mouse import Mouse | |
| from win32api import GetSystemMetrics | |
| grabSize = 50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.8" | |
| services: | |
| postgres: | |
| container_name: postgres | |
| image: postgres:14.2 | |
| environment: | |
| POSTGRES_USER: ${DB_USER} | |
| POSTGRES_PASSWORD: ${DB_PASS} | |
| POSTGRES_DB: ${DB_NAME} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM golang:1.18 | |
| WORKDIR /go/src/go-fiber-api-docker | |
| COPY . . | |
| RUN go build -o bin/server cmd/main.go | |
| CMD ["./bin/server"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server: | |
| go run cmd/main.go | |
| build: | |
| go build -o bin/server cmd/main.go | |
| d.up: | |
| docker-compose up | |
| d.down: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "go-fiber-api-docker/pkg/common/config" | |
| "go-fiber-api-docker/pkg/common/db" | |
| "go-fiber-api-docker/pkg/products" | |
| "github.com/gofiber/fiber/v2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package products | |
| import ( | |
| "github.com/gofiber/fiber/v2" | |
| "gorm.io/gorm" | |
| ) | |
| type handler struct { | |
| DB *gorm.DB | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package products | |
| import ( | |
| "gorm.io/gorm" | |
| ) | |
| type handler struct { | |
| DB *gorm.DB | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package products | |
| import ( | |
| "go-fiber-api-docker/pkg/common/models" | |
| "github.com/gofiber/fiber/v2" | |
| ) | |
| type UpdateProductRequestBody struct { | |
| Name string `json:"name"` |
NewerOlder