惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
Attack and Defense Labs
Attack and Defense Labs
Google Online Security Blog
Google Online Security Blog
SecWiki News
SecWiki News
N
News and Events Feed by Topic
O
OpenAI News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
AI
AI
L
LINUX DO - 最新话题
S
Securelist
Cisco Talos Blog
Cisco Talos Blog
V
Vulnerabilities – Threatpost
Webroot Blog
Webroot Blog
T
Threatpost
A
Arctic Wolf
罗磊的独立博客
T
Tor Project blog
The Hacker News
The Hacker News
C
Cybersecurity and Infrastructure Security Agency CISA
N
News | PayPal Newsroom
Latest news
Latest news
Y
Y Combinator Blog
S
Schneier on Security
T
Troy Hunt's Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
Security @ Cisco Blogs
量子位
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
L
Lohrmann on Cybersecurity
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Help Net Security
Help Net Security
腾讯CDC
The Last Watchdog
The Last Watchdog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed
Cloudbric
Cloudbric
Simon Willison's Weblog
Simon Willison's Weblog
AWS News Blog
AWS News Blog
NISL@THU
NISL@THU
GbyAI
GbyAI
B
Blog
Spread Privacy
Spread Privacy
宝玉的分享
宝玉的分享
S
Secure Thoughts
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - AuOK?

深夜发文,惨痛教训,在redis集群中,不能使用 multi docker-compose 记录一个让人抓狂的错误 SVN 同一个仓库下,不同目录的自动更新方法 写点正则表达式的 MySQL 事务嵌套的方法 PHP笔记 NGINXConfig windows 下修改文件属性值 nextcloud 应用开发 记录一下搞nextcloud的辛酸事吧 nextcloud环境搭建及部署 docker容器内访问宿主机,访问不通 错误:Host is unreachable 记录一下SQL的行行比较 记录一次nginx平滑升级 letsencrypt免费SSL证书自动续期 守护进程因echo挂掉的原因,以及重定向标准输入、标准输出和标准错误 openresty lua-nginx-module模块中文文档 记录一下,php正则获取字符串子串技巧 nginx localhost的坑
go mod
AuOK? · 2022-05-19 · via 博客园 - AuOK?

做个记录:

Go module的介绍及使用

在go mod模式下,项目目录下需要引入其他文件夹里的包

在项目根目录 go mod init app 后 (go env -w GO111MODULE=on|auto)

import(

  "app/文件夹"

)

不需要go mod的话, 可以使用相对路径引入

import(

  "./文件夹"

)