feat(Go-StudyExample):包方法重构

This commit is contained in:
Huangzj
2020-12-16 11:30:31 +08:00
parent 1d21a9634e
commit a97c2c9bcc
17 changed files with 74 additions and 125 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
package example
func assert(err error) {
func Assert(err error) {
if err != nil {
panic(err)
}