Skip to content

Instantly share code, notes, and snippets.

GitHub Flow Introduction

GitHub Flow is a collaborative development workflow advocated by GitHub. It promotes a branching strategy that emphasizes frequent pull requests (PRs) for code reviews and seamless merging.

Key Points:

  • Feature Branches: Developers create feature branches from the main branch (often called master or main) to work on new features or bug fixes.
  • Pull Requests (PRs): Developers submit PRs to propose changes from their feature branches to the main branch.
# Second partition (2) on the first hard disk (hd0);
# Linux would *typically* call this /dev/sda2.
LABEL Win
MENU LABEL Windows
KERNEL chain.c32
APPEND hd0 2
LABEL Live
MENU LABEL Live
# MENU DEFAULT
UI menu.c32
TIMEOUT 2
include defaults.conf
# Second partition (2) on the first hard disk (hd0);
# Linux would *typically* call this /dev/sda2.
LABEL Win
MENU LABEL Windows
KERNEL chain.c32

Excerpted from https://thinkerou.com/post/rpc-guide/

RPC 介绍

1. RPC 简介

  • RPC 是 Remote Procedure Call 的缩写, 即远程过程/函数调用
  • RPC 用于进程间或跨网络通讯
  • RPC 具有很好的横向扩展能力, 更适合网络/分布式环境通讯
package account
import (
"context"
"errors"
"fmt"
"log"
"net"
"testing"
"time"