gohelper

module
v0.0.0-...-8837064 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2021 License: Apache-2.0

README

gohelper

go helper

Git

Commits

A specification for adding human and machine readable meaning to commit messages.

refer: Conventional Commits

.gitconfig
[user]
    name = yourname
    email = youremail
[push]
    default = simple
[diff]
    tool = vimdiff
[difftool]
	prompt = false
[credential]
    helper = store
[color]
    diff = auto
    status = auto
    branch = auto
    interactive = auto
    ui = true
    pager = true
[color "status"]
    added = green
    changed = red bold
    untracked = magenta bold
[color "branch"]
    remote = yellow
[merge]
    tool = vimdiff
[mergetool]
    prompt = false
[alias]
    d = difftool
    di = difftool
    co = checkout
    br = branch
    pr = pull --rebase
    dc = dcommit
    ci = commit
    st = status
    last = log -1 HEAD
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
    unstage = reset HEAD --
    s = "!f() { rev=${1-HEAD}; git difftool $rev^ $rev; }; f"

Directories

Path Synopsis
algorithm
sorts
创建堆:对顶的元素是最大或者最小的 调整堆:自下向上,或者自上而下进行调整,调整方式,就是交换 插入一个元素:将新元素插入堆底,自下上向上调整 删除堆顶:将堆底和堆顶元素调换,调整堆最后删除被移到堆底的元素 Package sorts a package for demonstrating sorting algorithms in Go Package sorts a package for demonstrating sorting algorithms in Go 算法步骤 将数据根据一个值按照大小分成左右两边,左边小于此值,右边大于 将两边数据进行递归调用步骤1 将所有数据合并 Package sorts a package for demonstrating sorting algorithms in Go Package sorts a package for demonstrating sorting algorithms in Go Package sorts a package for demonstrating sorting algorithms in Go
创建堆:对顶的元素是最大或者最小的 调整堆:自下向上,或者自上而下进行调整,调整方式,就是交换 插入一个元素:将新元素插入堆底,自下上向上调整 删除堆顶:将堆底和堆顶元素调换,调整堆最后删除被移到堆底的元素 Package sorts a package for demonstrating sorting algorithms in Go Package sorts a package for demonstrating sorting algorithms in Go 算法步骤 将数据根据一个值按照大小分成左右两边,左边小于此值,右边大于 将两边数据进行递归调用步骤1 将所有数据合并 Package sorts a package for demonstrating sorting algorithms in Go Package sorts a package for demonstrating sorting algorithms in Go Package sorts a package for demonstrating sorting algorithms in Go
gin
platform
qq

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL