Skip to content

Instantly share code, notes, and snippets.

View ywiyogo's full-sized avatar

Yongkie Wiyogo ywiyogo

View GitHub Profile
@ywiyogo
ywiyogo / folder_structure.md
Created July 3, 2025 02:07 — 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
@ywiyogo
ywiyogo / install_gcc540.sh
Last active November 4, 2018 09:19
Installation script for GCC 5.4.0 in Fedora 28/29
echo "Download gcc 5.4.0 source code..."
wget http://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.gz
echo "extract the tar file..."
tar xvfz gcc-5.4.0.tar.gz
cd gcc-5.4.0
# Download prerequisites
./contrib/download_prerequisites