Skip to content

Commit

Permalink
Site updated: 2024-10-27 21:34:35
Browse files Browse the repository at this point in the history
  • Loading branch information
fuchencong committed Oct 27, 2024
1 parent 67c151d commit fb62c20
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions 2024/10/13/go-library-bytes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,8 @@ <h2 id="小结"><a href="#小结" class="headerlink" title="小结"></a>小结</

<div class="post-nav">
<div class="post-nav-item">
<a href="/fuchencong.github.io/2024/10/18/go-library-errors/" rel="prev" title="go 库学习之 errors">
<i class="fa fa-chevron-left"></i> go 库学习之 errors
<a href="/fuchencong.github.io/2024/10/18/go-library-errors/" rel="prev" title="go 库学习之 errors">
<i class="fa fa-chevron-left"></i> go 库学习之 errors
</a></div>
<div class="post-nav-item">
<a href="/fuchencong.github.io/2024/10/07/go-library-context/" rel="next" title="go 库学习之 context">
Expand Down
8 changes: 4 additions & 4 deletions 2024/10/18/go-library-errors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@

<meta name="description" content="Go 采用的是基于 错误值比较 的错误处理机制,即通过检查返回的 error 值来判断函数&#x2F;方法是否执行成功,如果执行失败,也是通过该 error 值来携带具体的错误信息。相比于其他编程语言的 异常 错误处理机制,这种 值比较 机制更加简单,它要求在程序控制流程中显式关注和处理每个错误,这样的代码往往可读性更好,也符合 Go 追求简答的设计哲学。 标准库的 errors 包为 Go 的错">
<meta property="og:type" content="article">
<meta property="og:title" content="go 库学习之 errors">
<meta property="og:title" content="go 库学习之 errors">
<meta property="og:url" content="https://fuchencong.github.io/fuchencong.github.io/2024/10/18/go-library-errors/index.html">
<meta property="og:site_name" content="fuchencong">
<meta property="og:description" content="Go 采用的是基于 错误值比较 的错误处理机制,即通过检查返回的 error 值来判断函数&#x2F;方法是否执行成功,如果执行失败,也是通过该 error 值来携带具体的错误信息。相比于其他编程语言的 异常 错误处理机制,这种 值比较 机制更加简单,它要求在程序控制流程中显式关注和处理每个错误,这样的代码往往可读性更好,也符合 Go 追求简答的设计哲学。 标准库的 errors 包为 Go 的错">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2024-10-18T03:56:56.000Z">
<meta property="article:modified_time" content="2024-10-18T04:04:29.092Z">
<meta property="article:modified_time" content="2024-10-27T13:33:01.157Z">
<meta property="article:author" content="fuchencong">
<meta property="article:tag" content="Go">
<meta name="twitter:card" content="summary">
Expand All @@ -46,7 +46,7 @@
};
</script>

<title>go 库学习之 errors | fuchencong</title>
<title>go 库学习之 errors | fuchencong</title>



Expand Down Expand Up @@ -180,7 +180,7 @@ <h1 class="site-title">fuchencong</h1>
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
go 库学习之 errors
go 库学习之 errors
</h1>

<div class="post-meta">
Expand Down
4 changes: 2 additions & 2 deletions 2024/10/27/go-library-netip/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ <h2 id="Reference"><a href="#Reference" class="headerlink" title="Reference"></a
<div class="post-nav">
<div class="post-nav-item"></div>
<div class="post-nav-item">
<a href="/fuchencong.github.io/2024/10/18/go-library-errors/" rel="next" title="go 库学习之 errors">
go 库学习之 errors <i class="fa fa-chevron-right"></i>
<a href="/fuchencong.github.io/2024/10/18/go-library-errors/" rel="next" title="go 库学习之 errors">
go 库学习之 errors <i class="fa fa-chevron-right"></i>
</a></div>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion archives/2024/10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h1 class="site-title">fuchencong</h1>

<div class="post-title">
<a class="post-title-link" href="/fuchencong.github.io/2024/10/18/go-library-errors/" itemprop="url">
<span itemprop="name">go 库学习之 errors</span>
<span itemprop="name">go 库学习之 errors</span>
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion archives/2024/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h1 class="site-title">fuchencong</h1>

<div class="post-title">
<a class="post-title-link" href="/fuchencong.github.io/2024/10/18/go-library-errors/" itemprop="url">
<span itemprop="name">go 库学习之 errors</span>
<span itemprop="name">go 库学习之 errors</span>
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h1 class="site-title">fuchencong</h1>

<div class="post-title">
<a class="post-title-link" href="/fuchencong.github.io/2024/10/18/go-library-errors/" itemprop="url">
<span itemprop="name">go 库学习之 errors</span>
<span itemprop="name">go 库学习之 errors</span>
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion categories/Go/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h2 class="collection-header">Go

<div class="post-title">
<a class="post-title-link" href="/fuchencong.github.io/2024/10/18/go-library-errors/" itemprop="url">
<span itemprop="name">go 库学习之 errors</span>
<span itemprop="name">go 库学习之 errors</span>
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ <h2 class="post-title" itemprop="name headline">
<header class="post-header">
<h2 class="post-title" itemprop="name headline">

<a href="/fuchencong.github.io/2024/10/18/go-library-errors/" class="post-title-link" itemprop="url">go 库学习之 errors</a>
<a href="/fuchencong.github.io/2024/10/18/go-library-errors/" class="post-title-link" itemprop="url">go 库学习之 errors</a>
</h2>

<div class="post-meta">
Expand Down
2 changes: 1 addition & 1 deletion tags/Go/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h2 class="collection-header">Go

<div class="post-title">
<a class="post-title-link" href="/fuchencong.github.io/2024/10/18/go-library-errors/" itemprop="url">
<span itemprop="name">go 库学习之 errors</span>
<span itemprop="name">go 库学习之 errors</span>
</a>
</div>

Expand Down

0 comments on commit fb62c20

Please sign in to comment.