mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-20 02:52:26 +08:00
update book code
This commit is contained in:
8
eBook/examples/chapter_9/uppercase/uc/uc.go
Normal file
8
eBook/examples/chapter_9/uppercase/uc/uc.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// uc.go
|
||||
package uc
|
||||
|
||||
import "strings"
|
||||
|
||||
func UpperCase(str string) string {
|
||||
return strings.ToUpper(str)
|
||||
}
|
Reference in New Issue
Block a user