The Go Programming Language
› http://golang.org/
› Go Playground
Go Projects
› Revel Web Framework
Wuvist

移植了 asp.net 的 razor 模板引擎到 GO

  •  2
     
  •   Wuvist ·
    Wuvist · May 1, 2014 · 3283 views
    This topic created in 4570 days ago, the information mentioned may be changed or developed.
    https://github.com/Wuvist/gorazor

    基于代码生成,用了一个现成的js razor模板parser,所以还需要node。
    6 replies  •  2014-05-20 22:06:56 +08:00
    rebornix
    rebornix
    May 1, 2014
    1
    Awesome!!! It's a real contribution towards both Asp.NET and Go.

    BTW, "View engine" is more accurate.
    Wuvist
    Wuvist
    OP
    May 1, 2014❤️1
    2
    @rebornix ^_^ then both asp.net & go fans should thanks node.js. gorazor is currently a "hack" to node.js project vash: https://github.com/kirbysayshi/vash
    min
    min
    May 2, 2014
    3
    杂交啊
    Wuvist
    Wuvist
    OP
    May 4, 2014
    4
    @min 如果有空的话,把node的依赖干掉会方便很多。

    ===

    增加了layout/section支持,同时写多篇又臭又长的“设计文档”: http://t.cn/8s1D2cn 求拍砖,求PR~
    Wuvist
    Wuvist
    OP
    May 13, 2014
    5
    去除node的依赖,改为纯go实现了,项目也移去了公司的群组:
    https://github.com/sipin/gorazor

    直接go get可用。
    guotie
    guotie
    May 20, 2014
    6
    强大!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1375 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:47 · PVG 04:47 · LAX 12:47 · JFK 15:47
    ♥ Do have faith in what you're doing.