mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-07 17:53:42 +08:00
option: replace leveldb with redis in storing message code
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
package main
|
||||
|
||||
func main() {
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
func main() {
|
||||
value, err := strconv.Atoi("012345")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
fmt.Println(value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user