Skip to content

Instantly share code, notes, and snippets.

View yshngg's full-sized avatar
:shipit:
It's not a bug, it's a feature!

Yusheng Guo yshngg

:shipit:
It's not a bug, it's a feature!
View GitHub Profile

Overview

How to document a new codebase Use this template to document a new codebase.

Business Logic

A place to record any important logic that you come across that is worth documenting.

Landmarks

Refers to the different landmarks of a codebase to help you navigate around. Where are the API methods defined? Where are interactions with the database?

@yshngg
yshngg / folder_structure.md
Created November 14, 2024 05:48 — forked from ayoubzulfiqar/folder_structure.md
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files
@yshngg
yshngg / bash_strict_mode.md
Created October 22, 2024 03:01 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation