Ver código fonte

add README_zh.md

chris 2 anos atrás
pai
commit
b03e2de50b
3 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      README.md
  2. 1 1
      README_zh.md
  3. 1 1
      internal/service/user_test.go

+ 1 - 1
README.md

@@ -1,6 +1,6 @@
 # Nunu - An Elegant Golang Scaffold 
 
-[简体中文介绍](https://github.com/go-nunu/nunu/blob/main/README_zh.md)
+[简体中文介绍](https://github.com/go-nunu/nunu-layout/blob/main/README_zh.md)
 
 Nunu is an application scaffold based on Golang. Its name comes from the character Nunu in League of Legends, who is a little boy riding on the shoulder of a snowman. Like Nunu, Go-Nunu also stands on the shoulders of giants, and it is composed of various third-party libraries, including gin, gorm, wire, viper, zap, golang-jwt, go-redis, testify, sonyflake, tableflip, go-survey, cobra, etc. These libraries are very popular in the Golang ecosystem, and their combination can help you quickly build an efficient and reliable application.
 

+ 1 - 1
README_zh.md

@@ -1,5 +1,5 @@
 # Nunu - 一个优雅的 Golang 脚手架
-[英文介绍](https://github.com/go-nunu/nunu/blob/main/README.md)
+[英文介绍](https://github.com/go-nunu/nunu-layout/blob/main/README.md)
 
 Nunu是一个基于Golang的应用脚手架,它的名字来自于英雄联盟中的角色 努努,努努是一个骑在雪怪肩膀上的小男孩,和努努一样,Go-Nunu也是站在巨人的肩膀上,它是由各种第三方库组合而成的,包括gin、gorm、wire、viper、zap、golang-jwt、go-redis、testify、sonyflake、tableflip、go-survey、cobra等。这些库都是Golang生态中非常流行的库,它们的组合可以帮助你快速构建一个高效、可靠的应用程序。
 

+ 1 - 1
internal/service/user_test.go

@@ -27,6 +27,6 @@ func TestMain(m *testing.M) {
 
 }
 func TestGetUserByEmail(t *testing.T) {
-	_, err := userService.GetUserByEmail("abc")
+	_, err := userService.GetUserById(0)
 	assert.Equal(t, err, gorm.ErrRecordNotFound, "they should be equal")
 }