Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/mirPublic

Releases: alimy/mir

v4.2.0-alpha.6

10 Jun 15:06
v4.2.0-alpha.6
This tag was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
0eb651f
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

add service package.

Assets2
Loading

v4.1.0

30 Dec 05:10
55560f7
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

Added

  • addgin engine support forContext primitive logic
  • addhertz engine support forContext primitive logic
  • addchi engine support forContext primitive logic
  • addmux engine support forContext primitive logic
  • addhttprouter engine supportContext primitive logic
  • addecho engine support forContext primitive logic
  • addiris engine support forContext primitive logic
  • addfiber engine support forContext primitive logic
  • addmacaron engine support forContext primitive logic
Loading

mirc/v4.1.0

30 Dec 05:30
mirc/v4.1.0
This tag was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
fbc202c
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • adapter for go-mir v4.1.0.
Loading

v4.1.0-rc.1

28 Dec 10:46
bd17be9
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • prepare to release v4.1.0
Loading

v4.1.0-beta.1

26 Dec 15:26
02c54dd
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

add Context primitive indicator use Engine's raw handler as method

adpate for engine

  • gin
  • chi
  • echo
  • fiber
  • hertz
  • httprouter
  • iris
  • macaron
  • mux
Loading

mirc/v4.1.0-beta.1

26 Dec 16:08
4c83784
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • adapte for go-mir v4.1.0-beta.1
Loading

v4.1.0-alpha.3

19 Dec 02:29
4438847
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • add Context primitive support for hertz engine code generate
Loading

v4.1.0-alpha.2

17 Dec 12:35
14eeeb8
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

v4.1.0-alpha.1

13 Dec 04:11
f54b37e
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • addContext primitive support for gin engine code generate

Usage:

// go-mir route interface define file// Site site interface infotypeSitestruct {Chain`mir:"-"`Indexfunc(Get,Chain)`mir:"/index/"`Assetsfunc(Get,Context)`mir:"/assets/:name"`}

使用gin的代码生成器生成的代码如下

type_binding_interface {Bind(*gin.Context) mir.Error}type_render_interface {Render(*gin.Context)}type_default_interface {Bind(*gin.Context,any) mir.ErrorRender(*gin.Context,any, mir.Error)}typeSiteinterface {_default_// Chain provide handlers chain for ginChain() gin.HandlersChainAssets(*gin.Context)Index() mir.ErrormustEmbedUnimplementedSiteServant()}// RegisterSiteServant register Site servant to ginfuncRegisterSiteServant(e*gin.Engine,sSite,m...SiteChain) {varccSiteChainiflen(m)>0 {cc=m[0]}else {cc=&UnimplementedSiteChain{}}router:=e// use chain for routermiddlewares:=s.Chain()router.Use(middlewares...)router.Handle("GET","/assets/:name",s.Assets)router.Handle("GET","/index/",append(cc.ChainIndex(),func(c*gin.Context) {select {case<-c.Request.Context().Done():returndefault:}s.Render(c,nil,s.Index())})...)}
Loading

v4.0.0

27 Jul 11:31
v4.0.0
This tag was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
0ca44c4
This commit was signed with the committer’sverified signature.
alimy 北野 - Michael
SSH Key Fingerprint:XdyDNdVDcc2qbL/oqMGnZcMy1HETG39gjWxG/IZtvwY
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

new generator for go-mir v4 base golang type assert feature.

Generator supported:

Loading
Previous13451314
Previous

[8]ページ先頭

©2009-2025 Movatter.jp