feat(Go-StudyExample):包方法重构
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
package example
|
||||
|
||||
func assert(err error) {
|
||||
func Assert(err error) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user