beedoc icon indicating copy to clipboard operation
beedoc copied to clipboard

wrong code demo in model demo.

Open zhoupro opened this issue 5 years ago • 0 comments

https://beego.me/docs/quickstart/model.md

` // Package main provides ... package main

import ( "fmt" "path/filepath" )

func main() { ext := filepath.Ext("http://www.google.com/search.go") fmt.Println(ext) }

` The output will be .go rather go. So the demo will always be true.

zhoupro avatar Dec 11 '19 09:12 zhoupro