-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
495 lines (327 loc) · 21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
<!doctype html>
<html lang="zh-CN">
<head>
<meta name="generator" content="Hugo 0.81.0" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer-when-downgrade">
<title>阿兵云原生 | 专注于Go语言(golang),软件架构</title>
<meta property="og:title" content="阿兵云原生 | 专注于Go语言(golang),软件架构">
<meta property="og:type" content="website">
<meta name="Keywords" content="golang,go语言,go语言笔记,博客,软件架构,公众号,小程序">
<meta name="description" content="专注于IT互联网,包括但不限于Go语言(golang)、抖音分析、软件架构等">
<meta property="og:url" content="https://qingconglaixueit.github.io/">
<link rel="shortcut icon" href='/favicon.ico' type="image/x-icon">
<link rel="stylesheet" href='/css/normalize.css'>
<link rel="stylesheet" href='/css/style.css'>
<link rel="alternate" type="application/rss+xml" href="https://qingconglaixueit.github.io/index.xml" title="阿兵云原生" />
<script type="text/javascript" src="//cdn.bootcdn.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<link rel="stylesheet" href='/css/douban.css'>
<link rel="stylesheet" href='/css/other.css'>
</head>
<body>
<header id="header" class="clearfix">
<div class="container">
<div class="col-group">
<div class="site-name ">
<h1>
<a id="logo" href="https://qingconglaixueit.github.io/">
阿兵云原生
</a>
</h1>
<p class="description">专注于Go语言(golang),软件架构</p>
</div>
<div>
<nav id="nav-menu" class="clearfix">
<a class="current" href="https://qingconglaixueit.github.io/">Home</a>
<a href="https://qingconglaixueit.github.io/tools/" title="工具">工具</a>
<a href="https://qingconglaixueit.github.io/archives/" title="归档">归档</a>
<a href="https://qingconglaixueit.github.io/about/" title="关于">关于</a>
<a href="https://qingconglaixueit.github.io/post/goisforlovers/" title="(Hu)go Template Primer">(Hu)go Template Primer</a>
<a href="https://qingconglaixueit.github.io/post/hugoisforlovers/" title="Getting Started with Hugo">Getting Started with Hugo</a>
<a href="https://qingconglaixueit.github.io/" title="tutorials">tutorials</a>
</nav>
</div>
</div>
</div>
</header>
<div id="body">
<div class="container">
<div class="col-group">
<div class="col-8" id="main">
<div class="res-cons">
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/creating-a-new-theme/" title="Creating a New Theme" target="_blank">Creating a New Theme</a>
</h1>
</header>
<time datetime="2014-09-28T00:00:00Z" class="post-meta meta-date dt-published">
2014-09-28
</time>
<div class="post-content">
Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme.
We’ll start with creating a new site with a very basic template. Then we’ll add in a few pages and posts. With small variations on that, you will be able to create many different types of web sites.
In this tutorial, commands that you enter will start with the “$” prompt. The output will follow. Lines that start with “#” are comments that I’ve added to explain a point. When I show updates to a file, the “:wq” on the last line means to save the file.……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/creating-a-new-theme/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/migrate-from-jekyll/" title="Migrate to Hugo from Jekyll" target="_blank">Migrate to Hugo from Jekyll</a>
</h1>
</header>
<time datetime="2014-03-10T00:00:00Z" class="post-meta meta-date dt-published">
2014-03-10
</time>
<div class="post-content">
Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like
▾ <root>/ ▾ images/ logo.png should become
▾ <root>/ ▾ static/ ▾ images/ logo.png Additionally, you’ll want any files that should reside at the root (such as CNAME) to be moved to static.
Create your Hugo configuration file Hugo can read your configuration as JSON, YAML or TOML. Hugo supports parameters custom configuration too. Refer to the Hugo configuration documentation for details.
Set your configuration publish folder to _site The default is for Jekyll to publish to _site and for Hugo to publish to public. If, like me, you have _site mapped to a git submodule on the gh-pages branch, you’ll want to do one of two alternatives:……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/migrate-from-jekyll/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/shejimoshi/" title="必知必会的22种设计模式(GO语言)" target="_blank">必知必会的22种设计模式(GO语言)</a>
</h1>
</header>
<time datetime="2023-04-28T06:39:47Z" class="post-meta meta-date dt-published">
2023-04-28
</time>
<div class="post-content">
日常工作中免不了使用设计模式,那么你使用了哪些设计模式呢? 设计模式是什么? 设计模式是一种在软件设计中对常见问题的通用解决方案。 它们是经过验证的、可重用的设计思想,可以帮助解决开发过程中遇到的各种问题。 设计模式提供了一种共同的词汇表和方法论,让不同团队的开发人员能够更有效地沟通和协……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/shejimoshi/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/orm/" title="我们要不要使用 ORM?" target="_blank">我们要不要使用 ORM?</a>
</h1>
</header>
<time datetime="2023-04-27T03:02:59Z" class="post-meta meta-date dt-published">
2023-04-27
</time>
<div class="post-content">
本次主要来聊聊关于 ORM 的内容,欢迎评论交流,欢迎批评指正 分别从如下 4 个方面来展开 ORM 他是个啥? 为什么要用 ORM? ORM 给我们带来了哪些问题? 如何去考虑是否要使用 ORM? ORM 他是个啥? 一提到 ORM 很多同学知道他是跟数据库相关的一个内容,但是并不清楚他到底是这个啥,自己需不需要,到底怎么玩? 实际上……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/orm/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/panic_revovery/" title="Go 语言中 panic 和 recover 搭配使用" target="_blank">Go 语言中 panic 和 recover 搭配使用</a>
</h1>
</header>
<time datetime="2023-04-27T02:52:54Z" class="post-meta meta-date dt-published">
2023-04-27
</time>
<div class="post-content">
本次主要聊聊 Go 语言中关于 panic 和 recover 搭配使用 ,以及 panic 的基本原理 最近工作中审查代码的时候发现一段代码,类似于如下这样,将 recover 放到一个子协程里面,期望去捕获主协程的程序异常 看到此处,是否会想这段代码在项目中是想当然写出来的吧,然而平日中,大多问题是出现在认知偏差上,那么本次,我们就来消除一下……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/panic_revovery/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/fanshe/" title="Go 语言中的反射" target="_blank">Go 语言中的反射</a>
</h1>
</header>
<time datetime="2023-04-27T02:48:12Z" class="post-meta meta-date dt-published">
2023-04-27
</time>
<div class="post-content">
今天主要来聊聊 Go 语言中反射,希望对你有新的认知 虽然很多人使用 Go 语言有一定时间了,甚至有的使用了 1 年 2 年,然后对于 Go 语言中的反射还是模棱两可,使用起来的时候,心里也不是非常有底气 更有甚者,几乎不使用反射,当然,也不是什么错,在工作中能用最简单最高效,又可扩展,性能还好的方式来进行处……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/fanshe/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/qiepiankuorong/" title="Go 语言切片扩容规则是扩容2倍?1.25倍?到底几倍" target="_blank">Go 语言切片扩容规则是扩容2倍?1.25倍?到底几倍</a>
</h1>
</header>
<time datetime="2023-04-27T02:45:02Z" class="post-meta meta-date dt-published">
2023-04-27
</time>
<div class="post-content">
本次主要来聊聊关于切片的扩容是如何扩的,还请大佬们不吝赐教 切片,相信大家用了 Go 语言那么久这这种数据类型并不陌生,但是平日里聊到关于切片是如何扩容的,很多人可能会张口就来,切片扩容的时候,如果老切片的容量小于 1024 那么就再扩容 1倍,也就是新的切片容量是老切片容量的两倍,同理,如果老切片……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/qiepiankuorong/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/tuanduibiandong/" title="团队变动,裁员 ,拿股权,年底降薪,微信接入 ChatGPT 我都经历了,仍然要往云原生方向进发!!" target="_blank">团队变动,裁员 ,拿股权,年底降薪,微信接入 ChatGPT 我都经历了,仍然要往云原生方向进发!!</a>
</h1>
</header>
<time datetime="2023-04-26T09:50:02Z" class="post-meta meta-date dt-published">
2023-04-26
</time>
<div class="post-content">
年底,又是一个总结过去和展望未来的时刻,在病痛交加的周六,捂着被子,拿着手机回顾我这时而平凡时而精彩的 2022,回望本年,又是没有财务自由的一年,团队变动,裁员,年底降薪,拿股权,健身,小刀刮喉咙,见她的父母,今年都经历个遍 对于财务自由。这个词相信兄弟们并不陌生,但每个人对财务自……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/tuanduibiandong/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/hebijuanai/" title="何必卷 AI " target="_blank">何必卷 AI </a>
</h1>
</header>
<time datetime="2023-04-26T09:45:19Z" class="post-meta meta-date dt-published">
2023-04-26
</time>
<div class="post-content">
一天,小明要写一篇论文,但是他遇到了一个问题:他期望有这么一个软件可以智能精准回复,能进行训练,还能帮忙处理数据。于是他开始寻找解决方案。 可以使用最近很火很卷的 chatgpt 呀,于是简单搜索并了解了一下 什么是 chatgpt 什么是 chatgpt Chatgpt 是一种基于自然语言处理技术的智能聊天系统。它可以自动理解用户输入的文本,……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/hebijuanai/" target="_blank">Continue reading</a></p>
</article>
<article class="post">
<header>
<h1 class="post-title">
<a href="https://qingconglaixueit.github.io/post/wodegetrenweixin/" title="我的个人微信迅速接入了chatgpt" target="_blank">我的个人微信迅速接入了chatgpt</a>
</h1>
</header>
<time datetime="2023-04-26T07:24:34Z" class="post-meta meta-date dt-published">
2023-04-26
</time>
<div class="post-content">
本文主要来聊聊如何快速使用个人微信接入 ChatGPT,欢迎 xdm 尝试起来,仅供学习参考,切莫用于做不正当的事情 关于 ChatGPT 我们每个人都可以简单的使用上,不需要你有很强的技术背景,不需要你有公众号,甚至不需要你自己接入,只要你有一个微信号,就可以享受到 ChatGPT 带给你的惊喜,那么我们开始吧 本文分别从……
</div>
<p class="readmore"><a href="https://qingconglaixueit.github.io/post/wodegetrenweixin/" target="_blank">Continue reading</a></p>
</article>
<ol class="page-navigator">
<li class="current">
<a href="https://qingconglaixueit.github.io/">1</a>
</li>
<li >
<a href="https://qingconglaixueit.github.io/page/2/">2</a>
</li>
<li class="next">
<a href="https://qingconglaixueit.github.io/page/2/">Next</a>
</li>
</ol>
</div>
<footer id="footer">
<div>
© 2023 <a href="https://qingconglaixueit.github.io/">阿兵云原生 By 阿兵云原生</a>
</div>
<br />
<div>
<div class="github-badge">
<a href="https://gohugo.io/" target="_black" rel="nofollow"><span class="badge-subject">Powered by</span><span class="badge-value bg-blue">Hugo</span></a>
</div>
<div class="github-badge">
<a href="https://www.flysnow.org/" target="_black"><span class="badge-subject">Design by</span><span class="badge-value bg-brightgreen">阿兵云原生</span></a>
</div>
<div class="github-badge">
<a href="https://github.com/flysnow-org/maupassant-hugo" target="_black"><span class="badge-subject">Theme</span><span class="badge-value bg-yellowgreen">Maupassant</span></a>
</div>
</div>
</footer>
<a id="rocket" href="#top"></a>
<script type="text/javascript" src='/js/totop.js?v=0.0.0' async=""></script>
<script type="text/javascript" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" async></script>
<script src='/js/douban.js'></script>
</div>
<div id="secondary">
<section class="widget">
<form id="search" action='https://qingconglaixueit.github.io/search' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
<input type="text" name="q" maxlength="20" placeholder="Search">
<input type="hidden" name="sitesearch" value="https://qingconglaixueit.github.io/">
<button type="submit" class="submit icon-search"></button>
</form>
</section>
<section class="widget">
<h3 class="widget-title">Latest articles</h3>
<ul class="widget-list">
<li>
<a href="https://qingconglaixueit.github.io/post/creating-a-new-theme/" title="Creating a New Theme" target="_blank">Creating a New Theme</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/migrate-from-jekyll/" title="Migrate to Hugo from Jekyll" target="_blank">Migrate to Hugo from Jekyll</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/shejimoshi/" title="必知必会的22种设计模式(GO语言)" target="_blank">必知必会的22种设计模式(GO语言)</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/orm/" title="我们要不要使用 ORM?" target="_blank">我们要不要使用 ORM?</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/panic_revovery/" title="Go 语言中 panic 和 recover 搭配使用" target="_blank">Go 语言中 panic 和 recover 搭配使用</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/fanshe/" title="Go 语言中的反射" target="_blank">Go 语言中的反射</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/qiepiankuorong/" title="Go 语言切片扩容规则是扩容2倍?1.25倍?到底几倍" target="_blank">Go 语言切片扩容规则是扩容2倍?1.25倍?到底几倍</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/tuanduibiandong/" title="团队变动,裁员 ,拿股权,年底降薪,微信接入 ChatGPT 我都经历了,仍然要往云原生方向进发!!" target="_blank">团队变动,裁员 ,拿股权,年底降薪,微信接入 ChatGPT 我都经历了,仍然要往云原生方向进发!!</a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/hebijuanai/" title="何必卷 AI " target="_blank">何必卷 AI </a>
</li>
<li>
<a href="https://qingconglaixueit.github.io/post/wodegetrenweixin/" title="我的个人微信迅速接入了chatgpt" target="_blank">我的个人微信迅速接入了chatgpt</a>
</li>
</ul>
</section>
<section class="widget">
<h3 class="widget-title" style="color:red">Ads</h3>
<ul class="widget-list">
<li>
<a href="xxxx" title="xxxxx" target="_blank" style="color:red">
<img src="xxxx">
</a>
</li>
</ul>
</section>
<section class="widget">
<h3 class="widget-title"><a href='/categories/'>Categories</a></h3>
<ul class="widget-list">
<li><a href="https://qingconglaixueit.github.io/categories/Development/">Development (2)</a></li>
<li><a href="https://qingconglaixueit.github.io/categories/golang/">golang (2)</a></li>
</ul>
</section>
<section class="widget">
<h3 class="widget-title"><a href='/tags/'>Tags</a></h3>
<div class="tagcloud">
<a href="https://qingconglaixueit.github.io/tags/hugo/">hugo</a>
<a href="https://qingconglaixueit.github.io/tags/development/">development</a>
<a href="https://qingconglaixueit.github.io/tags/github/">github</a>
<a href="https://qingconglaixueit.github.io/tags/gitment/">gitment</a>
<a href="https://qingconglaixueit.github.io/tags/go/">go</a>
<a href="https://qingconglaixueit.github.io/tags/golang/">golang</a>
<a href="https://qingconglaixueit.github.io/tags/hugo/">hugo</a>
<a href="https://qingconglaixueit.github.io/tags/templates/">templates</a>
<a href="https://qingconglaixueit.github.io/tags/themes/">themes</a>
</div>
</section>
<section class="widget">
<h3 class="widget-title">Links</h3>
<ul class="widget-list">
<li>
<a target="_blank" href="xxxx" title="xxx">xx</a>
</li>
</ul>
</section>
<section class="widget">
<h3 class="widget-title">Meta</h3>
<ul class="widget-list">
<li><a href="https://qingconglaixueit.github.io/index.xml">RSS</a></li>
</ul>
</section>
</div>
</div>
</div>
</div>
</body>
</html>