Skip to content

Commit

Permalink
add .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
lushi78778 committed Dec 30, 2023
1 parent 150e6c5 commit 12bd518
Show file tree
Hide file tree
Showing 10 changed files with 93 additions and 63 deletions.
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### Go template
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

## Go workspace file
#go.work

# CMake
cmake-build-*/

# IntelliJ
out/

.idea/
22 changes: 11 additions & 11 deletions dist/basic-grammar.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/connect-mysql.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/finally.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html SYSTEM "about:legacy-compat"><html lang="en-US" data-colors-preset="contrast" data-primary-color="#307FFF"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="robots" content="noindex"> <meta name="built-on" content="2023-12-30T21:37:28.9828409"><meta name="build-number" content="${buildNumber}"> <title>Finally | Go-tutorial</title><script id="virtual-toc-data" type="application/json">[{"id":"478319f5_587","level":0,"title":"管理依赖关系","anchor":"#478319f5_587"},{"id":"478319f5_590","level":0,"title":"编程语言规范","anchor":"#478319f5_590"},{"id":"478319f5_592","level":0,"title":"标准库","anchor":"#478319f5_592"},{"id":"effective-go","level":0,"title":"Effective Go","anchor":"#effective-go"}]</script><script id="topic-shortcuts" type="application/json"></script><link href="https://resources.jetbrains.com/writerside/apidoc/6.6.6-b205/app.css" rel="stylesheet"> <link rel="apple-touch-icon" sizes="180x180" href="https://jetbrains.com/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://jetbrains.com/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="https://jetbrains.com/favicon-16x16.png"><link rel="manifest" href="https://jetbrains.com/site.webmanifest"><link rel="mask-icon" href="https://jetbrains.com/safari-pinned-tab.svg" color="#000000"><meta name="msapplication-TileColor" content="#000000"/><meta name="msapplication-TileImage" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-144x144.png"/><meta name="msapplication-square70x70logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-70x70.png"/><meta name="msapplication-square150x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-150x150.png"/><meta name="msapplication-wide310x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x150.png"/><meta name="msapplication-square310x310logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x310.png"/> <meta name="image" content=""><!-- Open Graph --><meta property="og:title" content="Finally | Go-tutorial"/><meta property="og:description" content=""/><meta property="og:image" content=""/><meta property="og:site_name" content="Go-tutorial Help"/><meta property="og:type" content="website"/><meta property="og:locale" content="en_US"/><meta property="og:url" content="go-tutorialfinally.html"/><!-- End Open Graph --><!-- Twitter Card --><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content=""><meta name="twitter:title" content="Finally | Go-tutorial"><meta name="twitter:description" content=""><meta name="twitter:creator" content=""><meta name="twitter:image:src" content=""><!-- End Twitter Card --><!-- Schema.org WebPage --><script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebPage", "@id": "go-tutorialfinally.html#webpage", "url": "go-tutorialfinally.html", "name": "Finally | Go-tutorial", "description": "", "image": "", "inLanguage":"en-US" }</script><!-- End Schema.org --><!-- Schema.org WebSite --><script type="application/ld+json"> { "@type": "WebSite", "@id": "go-tutorial/#website", "url": "go-tutorial/", "name": "Go-tutorial Help" }</script><!-- End Schema.org --></head> <body data-id="Finally" data-main-title="Finally" data-article-props="{&quot;seeAlsoStyle&quot;:&quot;links&quot;}" data-template="article" data-breadcrumbs="" > <div class="wrapper"><main class="panel _main"><header class="panel__header"><div class="container"><h3>Go-tutorial Help</h3><div class="panel-trigger"></div></div></header><section class="panel__content"><div class="container"><article class="article" data-shortcut-switcher="inactive"><h1 data-toc="Finally" id="Finally.md">Finally</h1> <p id="478319f5_585">最后再讲一些事情,这个教程到此就基本结束了。</p><p id="478319f5_586">目前你可以完成一些基础的操作,如输出素数等,甚至能开发一些简单的 API</p><section class="chapter"><h2 id="478319f5_587" data-toc="478319f5_587" >管理依赖关系</h2><p id="478319f5_588">你可以通过 Go 工具获取和使用有用的包。在 pkg.go.dev 上,您可以搜索可能找到的软件包,然后使用命令将这些包导入到您自己的代码中调用其函数。</p><div class="code-block" data-lang="bash" >
<!DOCTYPE html SYSTEM "about:legacy-compat"><html lang="en-US" data-colors-preset="contrast" data-primary-color="#307FFF"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="robots" content="noindex"> <meta name="built-on" content="2023-12-30T21:56:56.228432"><meta name="build-number" content="${buildNumber}"> <title>Finally | Go-tutorial</title><script id="virtual-toc-data" type="application/json">[{"id":"f05fc913_5","level":0,"title":"管理依赖关系","anchor":"#f05fc913_5"},{"id":"f05fc913_8","level":0,"title":"编程语言规范","anchor":"#f05fc913_8"},{"id":"f05fc913_10","level":0,"title":"标准库","anchor":"#f05fc913_10"},{"id":"effective-go","level":0,"title":"Effective Go","anchor":"#effective-go"}]</script><script id="topic-shortcuts" type="application/json"></script><link href="https://resources.jetbrains.com/writerside/apidoc/6.6.6-b205/app.css" rel="stylesheet"> <link rel="apple-touch-icon" sizes="180x180" href="https://jetbrains.com/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://jetbrains.com/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="https://jetbrains.com/favicon-16x16.png"><link rel="manifest" href="https://jetbrains.com/site.webmanifest"><link rel="mask-icon" href="https://jetbrains.com/safari-pinned-tab.svg" color="#000000"><meta name="msapplication-TileColor" content="#000000"/><meta name="msapplication-TileImage" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-144x144.png"/><meta name="msapplication-square70x70logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-70x70.png"/><meta name="msapplication-square150x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-150x150.png"/><meta name="msapplication-wide310x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x150.png"/><meta name="msapplication-square310x310logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x310.png"/> <meta name="image" content=""><!-- Open Graph --><meta property="og:title" content="Finally | Go-tutorial"/><meta property="og:description" content=""/><meta property="og:image" content=""/><meta property="og:site_name" content="Go-tutorial Help"/><meta property="og:type" content="website"/><meta property="og:locale" content="en_US"/><meta property="og:url" content="go-tutorialfinally.html"/><!-- End Open Graph --><!-- Twitter Card --><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content=""><meta name="twitter:title" content="Finally | Go-tutorial"><meta name="twitter:description" content=""><meta name="twitter:creator" content=""><meta name="twitter:image:src" content=""><!-- End Twitter Card --><!-- Schema.org WebPage --><script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebPage", "@id": "go-tutorialfinally.html#webpage", "url": "go-tutorialfinally.html", "name": "Finally | Go-tutorial", "description": "", "image": "", "inLanguage":"en-US" }</script><!-- End Schema.org --><!-- Schema.org WebSite --><script type="application/ld+json"> { "@type": "WebSite", "@id": "go-tutorial/#website", "url": "go-tutorial/", "name": "Go-tutorial Help" }</script><!-- End Schema.org --></head> <body data-id="Finally" data-main-title="Finally" data-article-props="{&quot;seeAlsoStyle&quot;:&quot;links&quot;}" data-template="article" data-breadcrumbs="" > <div class="wrapper"><main class="panel _main"><header class="panel__header"><div class="container"><h3>Go-tutorial Help</h3><div class="panel-trigger"></div></div></header><section class="panel__content"><div class="container"><article class="article" data-shortcut-switcher="inactive"><h1 data-toc="Finally" id="Finally.md">Finally</h1> <p id="f05fc913_3">最后再讲一些事情,这个教程到此就基本结束了。</p><p id="f05fc913_4">目前你可以完成一些基础的操作,如输出素数等,甚至能开发一些简单的 API</p><section class="chapter"><h2 id="f05fc913_5" data-toc="f05fc913_5" >管理依赖关系</h2><p id="f05fc913_6">你可以通过 Go 工具获取和使用有用的包。在 pkg.go.dev 上,您可以搜索可能找到的软件包,然后使用命令将这些包导入到您自己的代码中调用其函数。</p><div class="code-block" data-lang="bash" >
# 查找和导入有用的软件包 单击&ldquo;复制路径&rdquo;按钮将路径复制到 您的剪贴板。在您自己的代码中,将路径粘贴到 import 语句中
import &quot;rsc.io/quote&quot;

Expand Down Expand Up @@ -49,4 +49,4 @@

# 设置环境变量来配置命令 从私有源下载和构建模块
GOPRIVATE=*.corp.example.com,*.research.example.com
</div></section><section class="chapter"><h2 id="478319f5_590" data-toc="478319f5_590" >编程语言规范</h2><p id="478319f5_591">很长的英文文档 https://go.dev/ref/spec#Return_statements</p></section><section class="chapter"><h2 id="478319f5_592" data-toc="478319f5_592" >标准库</h2><p id="478319f5_593">这是很重要的文档!!!</p><p id="478319f5_594">https://pkg.go.dev/std</p></section><section class="chapter"><h2 id="effective-go" data-toc="effective-go" >Effective Go</h2><p id="478319f5_595">文档提供了编写清晰、惯用的 Go 代码的提示。</p><p id="478319f5_596">https://go.dev/doc/effective_go</p></section><div class="last-modified"> Last modified: 30 十二月 2023</div><div data-feedback-placeholder="true"></div><div class="navigation-links _bottom"> <a class="navigation-links__prev" href="find-and-fix-vulnerable-dependencies-with-govulncheck.html">Find and fix vulnerable dependencies with govulncheck</a> </div></article><div id="disqus_thread"></div></div></section></main></div> <script src="https://resources.jetbrains.com/writerside/apidoc/6.6.6-b205/app.js"></script></body></html>
</div></section><section class="chapter"><h2 id="f05fc913_8" data-toc="f05fc913_8" >编程语言规范</h2><p id="f05fc913_9">很长的英文文档 https://go.dev/ref/spec#Return_statements</p></section><section class="chapter"><h2 id="f05fc913_10" data-toc="f05fc913_10" >标准库</h2><p id="f05fc913_11">这是很重要的文档!!!</p><p id="f05fc913_12">https://pkg.go.dev/std</p></section><section class="chapter"><h2 id="effective-go" data-toc="effective-go" >Effective Go</h2><p id="f05fc913_13">文档提供了编写清晰、惯用的 Go 代码的提示。</p><p id="f05fc913_14">https://go.dev/doc/effective_go</p></section><div class="last-modified"> Last modified: 30 十二月 2023</div><div data-feedback-placeholder="true"></div><div class="navigation-links _bottom"> <a class="navigation-links__prev" href="find-and-fix-vulnerable-dependencies-with-govulncheck.html">Find and fix vulnerable dependencies with govulncheck</a> </div></article><div id="disqus_thread"></div></div></section></main></div> <script src="https://resources.jetbrains.com/writerside/apidoc/6.6.6-b205/app.js"></script></body></html>
Loading

0 comments on commit 12bd518

Please sign in to comment.