GOLANGSTUDY

module
v0.0.0-...-5e89576 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT

README

go语言学习笔记

create by afterloe
version is 1.4
MIT License

目录

golang 教程 学习笔记&开发日记

golang 开发的规范请参考官方的标准

笔记

golang day08中的项目已经单独立项了,可以关注 https://github.com/afterloe/AwPaas 下的 https://github.com/afterloe/awpaas-manager 项目

时隔半年继续更新,用go做了一个项目,将项目中碰到的点滴分享一下。将原来的第七天的内容改为了udp,第九天增加了c++扩展, 具体目录如下

直接阅读点这里

备忘录

golang 环境准备

wget https://dl.google.com/go/go1.12.linux-amd64.tar.gz
sudo tar xzvf go1.12.linux-amd64.tar.gz -C /usr/local/

配置go path 及 go root

$ sudo vim /etc/profile.d/go.sh
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

# Set the GOPROXY environment variable
export GOPROXY=https://goproxy.io,direct
# Set environment variable allow bypassing the proxy for specified repos (optional)
export GOPRIVATE=git.mycompany.com,github.com/my/private

Directories

Path Synopsis
fs

Jump to

Keyboard shortcuts

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