douyin-mall-go-template

(โ˜… 53)

ใ€Star us and watch this project grow! ๐ŸŒฑโญ๏ธใ€‘A comprehensive Go e-commerce template project demonstrating best practices in Go web development. Built with Gin framework and MySQL, featuring user authentication, product management, shopping cart, and order processing. Perfect for Go beginners to learn real-world application development.

Owner Repos

server-google-news โ˜… 126

ใ€Star-crossed coders unite!โญ๏ธใ€‘Model Context Protocol (MCP) server implementation providing Google News search capabilities via SerpAPI, with automatic news categorization and multi-language support.

TypeScript
echook โ˜… 84

๐Ÿ”Š echook โ€” AI-operated audio notifications for Claude Code, Cursor IDE & Codex CLI โ€” 26 hooks, voice + chime themes, TTS, webhooks, rate-limit alerts, status line. Tell your AI agent to install โ€” natural language forever after.

Python
automotive-repair-management-system โ˜… 31

ใ€Star-crossed coders unite!โญ๏ธใ€‘A comprehensive web-based automotive repair shop management system built with Flask and MySQL. Features separate interfaces for technicians and administrators to manage repair jobs, customers, parts inventory, and billing.

HTML
tencent-meeting-video-downloader โ˜… 28

ใ€Stars are free hugs for code - spread the love! ๐Ÿค—โญ๏ธใ€‘Chrome extension to easily download Tencent Meeting recording videos with one click. Generate reliable download commands and save recordings locally.

JavaScript
douyin-mall-java-template โ˜… 24

ใ€Star us and watch this project grow! ๐ŸŒฑโญ๏ธใ€‘A Spring Boot-based e-commerce microservices template with comprehensive setup guides. Ideal for learning microservices architecture and building scalable e-commerce applications. Features include user authentication, product management, order processing, and AI integration capabilities.

Java
server-google-jobs โ˜… 22

ใ€Every star you give feeds a hungry developer's motivation!โญ๏ธใ€‘A Model Context Protocol (MCP) server implementation that provides Google Jobs search capabilities via SerpAPI integration. Features multi-language support, comprehensive search parameters, and smart error handling.

JavaScript

File Explorer

ZIP Download
  • .gitattributes
  • .gitignore
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • go.mod
  • go.sum
  • GOVERNANCE.md
  • LICENSE
  • README.md
  • README.zh-CN.md
  • SECURITY.md
  • SUPPORT.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

๐Ÿ”

docker build

View Details โ–ผ

Build an image from a Dockerfile.

docker build .

Build a Docker image using the Dockerfile in the current directory:

docker build {{github.com/creack/docker-firefox}}

Build a Docker image from a Dockerfile at a specified URL:

docker build {{[-t|--tag]}} {{name:tag}} .

Build a Docker image and tag it:

๐Ÿ”

docker run

View Details โ–ผ

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

๐Ÿ”

git checkout

View Details โ–ผ

Checkout a branch or paths to the working tree.

git checkout -b {{branch_name}}

Create and switch to a new branch:

git checkout -b {{branch_name}} {{reference}}

Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):

git checkout {{branch_name}}

Switch to an existing local branch:

๐Ÿ”

git clone

View Details โ–ผ

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

๐Ÿ”

go build

View Details โ–ผ

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

๐Ÿ”

go fmt

View Details โ–ผ

Format Go source files, printing the changed filenames.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go fmt

Format Go source files in the current directory:

go fmt {{path/to/package}}

Format a specific Go package in your import path (`$GOPATH/src`):

go fmt {{./...}}

Format the package in the current directory and all subdirectories (note the `...`):

๐Ÿ”

go mod

View Details โ–ผ

Module maintenance.

go mod init {{module_name}}

Initialize new module in current directory:

go mod download

Download modules to local cache:

go mod tidy

Add missing and remove unused modules:

๐Ÿ”

go run

View Details โ–ผ

Compile and run Go code without saving a binary.

go run {{path/to/file.go}}

Run a Go file:

go run {{path/to/package}}

Run a main Go package:

๐Ÿ”

go test

View Details โ–ผ

Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go test

Test the package found in the current directory:

go test -v

[v]erbosely test the package in the current directory:

go test -v ./...

Test the packages in the current directory and all subdirectories:

๐Ÿ”

gofmt

View Details โ–ผ

Format Go source code.

gofmt {{path/to/source.go}}

Format a file and display the result to the console:

gofmt -w {{path/to/source.go}}

Format a file, overwriting the original file in-place:

gofmt -s -w {{path/to/source.go}}

Format a file, and then simplify the code, overwriting the original file:

๐Ÿ”

goimports

View Details โ–ผ

Update Go import lines, adding missing ones and removing unreferenced ones.

goimports {{path/to/file.go}}

Display the completed import source file:

goimports -w {{path/to/file.go}}

Write the result back to the source file instead of `stdout`:

goimports -w -d {{path/to/file.go}}

Display diffs and write the result back to the source file:

๐Ÿ”

golangci-lint

View Details โ–ผ

Parallelized, smart, and fast Go linters runner that integrates with all major IDEs and supports YAML configuration.

golangci-lint run

Run linters in the current folder:

golangci-lint linters

List enabled and disabled linters (Note: Disabled linters are shown last, do not mistake them for enabled ones):

golangci-lint run {{[-E|--enable]}} {{linter}}

Enable a specific linter for this run:

๐Ÿ”

mysql

View Details โ–ผ

The MySQL tool.

mysql {{database_name}}

Connect to a database:

mysql {{[-u|--user]}} {{user}} {{[-p|--password]}} {{database_name}}

Connect to a database, user will be prompted for a password:

mysql {{[-h|--host]}} {{database_host}} {{database_name}}

Connect to a database on another host:

๐Ÿ”

nano

View Details โ–ผ

Text editor. An enhanced `pico` clone.
See also: `pico`, `rnano`.

nano {{path/to/file1 path/to/file2 ...}}

Open specific files, moving to the next file after closing the previous one:

nano {{[-I|--ignorercfiles]}}

Start the editor without using configuration files:

nano +{{line}},{{column}} {{path/to/file}}

Open a file and position the cursor at a specific line and column:

๐Ÿ”

npm install

View Details โ–ผ

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

๐Ÿ”

npm run

View Details โ–ผ

Run a script.

npm run

List available scripts:

npm run {{script_name}}

Run a script:

npm run {{script_name}} -- {{argument}} {{--option}}

Pass arguments to a script:

// repository documentation