Skip to content

Commit

Permalink
docs(#1 about �goalang �black book): new
Browse files Browse the repository at this point in the history
Signed-off-by: xiongxinwei <3293172751nss@gmail.com>
  • Loading branch information
cubxxw committed Dec 30, 2022
1 parent 74ebc7f commit b862d10
Show file tree
Hide file tree
Showing 9 changed files with 295 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .obsidian/community-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"obsidian-mind-map",
"obsidian-day-planner",
"easy-typing-obsidian",
"obsidian-wakatime"
"obsidian-wakatime",
"obsidian-gist"
]
4 changes: 2 additions & 2 deletions .obsidian/plugins/obsidian-activity-history/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"path": "/",
"date": "2022-12-30",
"size": 10612008
"size": 21462919
}
],
"activityHistory": [
Expand Down Expand Up @@ -46,7 +46,7 @@
},
{
"date": "2022-12-30",
"value": 351
"value": 10851262
}
]
}
Expand Down
245 changes: 245 additions & 0 deletions .obsidian/plugins/obsidian-gist/main.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .obsidian/plugins/obsidian-gist/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "obsidian-gist",
"name": "Gist",
"version": "0.9.0",
"minAppVersion": "0.15.0",
"description": "This is a plugin to display the GitHub Gist.",
"author": "Jun Lin",
"authorUrl": "https://github.com/linjunpop/obsidian-gist",
"isDesktopOnly": false
}
4 changes: 4 additions & 0 deletions .obsidian/plugins/obsidian-gist/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.block-language-gist > iframe {
width: 100%;
border: 0;
}
17 changes: 11 additions & 6 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "docs/go-advancend/design/1.md",
"file": "docs/go-advancend/markdown/22.md",
"mode": "source",
"backlinks": true,
"source": false
Expand Down Expand Up @@ -86,7 +86,7 @@
"state": {
"type": "backlink",
"state": {
"file": "docs/go-advancend/design/1.md",
"file": "docs/go-advancend/markdown/22.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -103,7 +103,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "docs/go-advancend/design/1.md",
"file": "docs/go-advancend/markdown/22.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
Expand All @@ -126,7 +126,7 @@
"state": {
"type": "outline",
"state": {
"file": "docs/go-advancend/design/1.md"
"file": "docs/go-advancend/markdown/22.md"
}
}
}
Expand All @@ -149,9 +149,14 @@
"canvas:Create new canvas": false,
"daily-notes:打开/创建今天的日记": false,
"templates:插入模板": false,
"command-palette:打开命令面板": false
"command-palette:打开命令面板": false,
"table-editor-obsidian:Advanced Tables Toolbar": false,
"obsidian-excalidraw-plugin:新建 Excalidraw 绘图": false,
"obsidian-advanced-slides:Show Slide Preview": false
}
},
"active": "debe20ab882b04d3",
"lastOpenFiles": []
"lastOpenFiles": [
"docs/go-advancend/design/1.md"
]
}
2 changes: 2 additions & 0 deletions Day Planners/Day Planner-20221230.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Day Planner
- [ ]
13 changes: 13 additions & 0 deletions docs/code/go-super/1-main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,20 @@ package main

import "fmt"

var x float64 = 10 //这里的x是全局变量
var y = 10

func main() {
fmt.Println("hello world!")
fmt.Println("this is a test!")
if x := 1; x > 0 {
fmt.Println("x>0")
}
fmt.Println(x)

//打印x的类型
fmt.Printf("x type is %T\n", x)

//打印y的类型
fmt.Printf("y type is %T\n", y)
}
7 changes: 6 additions & 1 deletion docs/go-advancend/markdown/22.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
+ [author](https://github.com/3293172751)
# 第22节

# 第22节 Go语言程序设计黑皮书学习和补充

+ [回到目录](../README.md)
+ [上一节](21.md)
> ❤️💕💕Go语言高级篇章,在此之前建议您先了解基础和进阶篇。Myblog:[http://nsddd.top](http://nsddd.top/)
Expand All @@ -8,7 +10,10 @@
---
[TOC]

## 入门篇

+ import 声明必须跟在 package 之后。
+ 每一个语句后面换行符默认转化为 `;` 其中 x+y 这个表达式中,换行符在+后面,不可以在 + 前面。



Expand Down

2 comments on commit b862d10

@vercel
Copy link

@vercel vercel bot commented on b862d10 Dec 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

awesome-go-nglg – ./dist

awesome-go-nglg.vercel.app
awesome-go-nglg-cub.vercel.app
awesome-go-nglg-git-master-cub.vercel.app

@vercel
Copy link

@vercel vercel bot commented on b862d10 Dec 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

awesome-go – ./dist

awesome-go-orcin.vercel.app
awesome-go-git-master-cub.vercel.app
go.nsddd.top
awesome-go-cub.vercel.app

Please sign in to comment.