Beego模板用法-创建beeblog

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Beego模板用法-创建beeblog相关的知识,希望对你有一定的参考价值。

1、创建beeblog项目

?  go pwd
/Users/daixuan/qbox/go
?  go bee new beeblog
______
| ___ | |_/ /  ___   ___
| ___  / _  / _ | |_/ /|  __/|  __/
\____/  \___| \___| v1.10.0
2018/07/29 17:20:41 WARN     ? 0001 You current workdir is not inside $GOPATH/src.
2018/07/29 17:20:41 INFO     ? 0002 Creating application...
    create   /Users/daixuan/qbox/go/src/beeblog/
    create   /Users/daixuan/qbox/go/src/beeblog/conf/
    create   /Users/daixuan/qbox/go/src/beeblog/controllers/
    create   /Users/daixuan/qbox/go/src/beeblog/models/
    create   /Users/daixuan/qbox/go/src/beeblog/routers/
    create   /Users/daixuan/qbox/go/src/beeblog/tests/
    create   /Users/daixuan/qbox/go/src/beeblog/static/
    create   /Users/daixuan/qbox/go/src/beeblog/static/js/
    create   /Users/daixuan/qbox/go/src/beeblog/static/css/
    create   /Users/daixuan/qbox/go/src/beeblog/static/img/
    create   /Users/daixuan/qbox/go/src/beeblog/views/
    create   /Users/daixuan/qbox/go/src/beeblog/conf/app.conf
    create   /Users/daixuan/qbox/go/src/beeblog/controllers/default.go
    create   /Users/daixuan/qbox/go/src/beeblog/views/index.tpl
    create   /Users/daixuan/qbox/go/src/beeblog/routers/router.go
    create   /Users/daixuan/qbox/go/src/beeblog/tests/default_test.go
    create   /Users/daixuan/qbox/go/src/beeblog/main.go
2018/07/29 17:20:41 SUCCESS  ? 0003 New application successfully created!
?  go ll /Users/daixuan/qbox/go/src
total 0
drwxr-xr-x  10 daixuan  staff   320 Jul 29 17:20 beeblog

2、

以上是关于Beego模板用法-创建beeblog的主要内容,如果未能解决你的问题,请参考以下文章

beeblog创建博客

beego——模板语法

beego——view 模板语法

Xcode中的变量模板(variable template)的用法

微信小程序第七天WXML语法之模板用法

微信小程序第七天WXML语法之模板用法