- 授权协议: MIT
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://www.florian-schlachter.de/?tag=pongo2
- 软件文档: https://godoc.org/github.com/flosch/pongo2
- 官方下载: https://github.com/flosch/pongo2/releases
软件介绍
pongo 2 是一个 Go 语言的模板引擎,其语法与 Django 模板类似,并且完全兼容 Django 模板。
示例模板:
{% if user.is_moderator && (user.moderation_level > 2 || user.moderation_level <= 0) %}
...
{% else %}
...
{% endif %}
{% if (check_access("admin", userprofile.username) && userprofile.is_verified())
|| admin_happyhour %} ... {% endif %}
{% if helper_functions.is_server_online("florian-schlachter.de") %}Server is up!{% endif %}
{{ make_statuscode_verbose(
user.lang, make_http_request(server.url, "/index.php").statuscode) }}Python网络编程攻略
萨卡尔 (Dr.M.O.Faruque Sarker) / 安道 / 人民邮电出版社 / 2014-12-1 / 45.00元
开发TCP/IP网络客户端和服务器应用 管理本地设备的IPv4/IPv6网络接口 使用HTTP和HTTPS协议编写用途多、效率高的Web客户端 编写可使用常见电子邮件协议的电子邮件客户端 通过Telnet和SSH连接执行远程系统管理任务 使用Web服务与流行的网站交互 监控并分析重要的常见网络安全漏洞一起来看看 《Python网络编程攻略》 这本书的介绍吧!
