This website requires JavaScript.
Explore
Help
Sign In
go-packages
/
iris
Watch
1
Star
0
Fork
0
You've already forked iris
mirror of
https://github.com/kataras/iris.git
synced
2025-02-02 23:40:35 +01:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
ef5f383227
iris
/
core
/
router
/
macro
/
interpreter
History
Gerasimos (Makis) Maropoulos
ef5f383227
support more than string and int at macro functions route path input arguments: int,uint8,uint16,uint32,int8,int32,int64,slice of strings and string
...
Former-commit-id: d29c4fbe5926bac590151322a585f68b394ff72d
2018-08-23 17:29:39 +03:00
..
ast
support more than string and int at macro functions route path input arguments: int,uint8,uint16,uint32,int8,int32,int64,slice of strings and string
2018-08-23 17:29:39 +03:00
lexer
New ':int64' and ':uint64' route path parameters - and - support the new uint64 for MVC (int64 was already supported there) - and - add ctx.Params().GetUint64 (GetInt64 was already there) - and - make the ':int or :number' to accept negative numbers with no digit limit (at low level) and rename the 'app.Macros().Int.RegisterFunc' to 'Number.RegisterFunc' because number can be any type of number not only standard go type limited - and - add alias for ':boolean' -> ':bool'. Finally, Update the examples but not the version yet, I have to provide a good README table to explain the end-developers how they can benefit by those changes and why the breaking change (which is to accept negative numbers via ':int') is for their own good and how they can make their own macro functions so they do not depend on the Iris builtn macro funcs only. More to come tomorrow, stay tuned
2018-08-23 06:30:12 +03:00
parser
support more than string and int at macro functions route path input arguments: int,uint8,uint16,uint32,int8,int32,int64,slice of strings and string
2018-08-23 17:29:39 +03:00
token
New ':int64' and ':uint64' route path parameters - and - support the new uint64 for MVC (int64 was already supported there) - and - add ctx.Params().GetUint64 (GetInt64 was already there) - and - make the ':int or :number' to accept negative numbers with no digit limit (at low level) and rename the 'app.Macros().Int.RegisterFunc' to 'Number.RegisterFunc' because number can be any type of number not only standard go type limited - and - add alias for ':boolean' -> ':bool'. Finally, Update the examples but not the version yet, I have to provide a good README table to explain the end-developers how they can benefit by those changes and why the breaking change (which is to accept negative numbers via ':int') is for their own good and how they can make their own macro functions so they do not depend on the Iris builtn macro funcs only. More to come tomorrow, stay tuned
2018-08-23 06:30:12 +03:00