瀏覽代碼

更新 '_posts/go-v7.md'

aaronwei 5 年之前
父節點
當前提交
e420d297a8
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      _posts/go-v7.md

+ 5 - 1
_posts/go-v7.md

@@ -11,12 +11,15 @@ categories: 编程语言
 ### 用命令获取第三方包
 
 ```bash
+
 go get -u -v github.com/speps/go-hashids
+
 ```
 
 ### 实现如下
 
-```go 
+```golang
+
 package hashids
 
 import (
@@ -43,5 +46,6 @@ func Decode(data string) int {
     e, _ := h.DecodeWithError(data)
     return e[0]
 }
+
 ```