Skip to content

Commit 5ef854d

Browse files
committed
add mathx.RoundToInteger helper
1 parent 0063f1c commit 5ef854d

File tree

65 files changed

+648
-707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+648
-707
lines changed

HISTORY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene
2323

2424
Changes apply to `main` branch.
2525

26+
- Add `x/mathx.RoundToInteger` math helper function.
27+
2628
# Wed, 10 Jan 2024 | v12.2.9
2729

2830
- Add `x/errors.RecoveryHandler` package-level function.

README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,6 @@
44
55
Try the official [Iris Command Line Interface](https://github.com/kataras/iris-cli) today! -->
66

7-
# 🎅 Happy new year to everyone!
8-
9-
```
10-
A new year is here, full of hope and cheer
11-
A time to celebrate, and appreciate
12-
the past year's achievements, and the future's improvements.
13-
14-
We are proud to present, our open-source project
15-
Iris web framework, a fast and elegant way to make
16-
Web applications, with ease and satisfaction.
17-
18-
Iris is built with Go, a language you should know
19-
It offers high performance, and great concurrency.
20-
It has a rich ecosystem, and a friendly community.
21-
22-
Iris is designed to be, simple and flexible
23-
It has a modular structure, and a powerful router.
24-
It supports middleware, and many features.
25-
26-
Iris is more than a tool, it is a vision
27-
To empower developers, and inspire creations
28-
to make the web better, and brighter.
29-
30-
We thank you for your support, and your feedback.
31-
We hope you enjoy using Iris, and find it useful.
32-
We wish you a happy new year, and a successful career.
33-
```
34-
357
# <a href="https://iris-go.com"><img src="https://iris-go.com/images/logo-new-lq-45.png"></a> Iris Web Framework <a href="README_GR.md"><img width="20px" src="https://iris-go.com/images/flag-greece.svg" /> <a href="README_JA.md"><img width="20px" height="20px" src="https://iris-go.com/images/flag-japan.svg" /></a> </a> <a href="README_FR.md"><img width="20px" src="https://iris-go.com/images/flag-france.svg" /></a> <a href="README_ZH_HANT.md"><img width="20px" src="https://iris-go.com/images/flag-taiwan.svg" /></a> <a href="README_ZH_HANS.md"><img width="20px" src="https://iris-go.com/images/flag-china.svg" /></a> <a href="README_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></a> <a href="README_FA.md"><img width="20px" src="https://iris-go.com/images/flag-iran.svg" /></a> <a href="README_RU.md"><img width="20px" src="https://iris-go.com/images/flag-russia.svg" /></a> <a href="README_KO.md"><img width="20px" src="https://iris-go.com/images/flag-south-korea.svg?v=12" /></a> <a href="README_PT_BR.md"><img width="20px" height="20px" src="https://iris-go.com/images/flag-brazil.svg" /></a> <a href="README_VN.md"><img width="20px" height="20px" src="https://iris-go.com/images/flag-vietnam.svg" /></a>
368

379
[![build status](https://img.shields.io/github/actions/workflow/status/kataras/iris/ci.yml?branch=main&style=for-the-badge)](https://github.com/kataras/iris/actions/workflows/ci.yml) [![view examples](https://img.shields.io/badge/examples%20-285-a83adf.svg?style=for-the-badge&logo=go)](https://github.com/kataras/iris/tree/main/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=cc2b5e&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) <!--[![FOSSA Status](https://img.shields.io/badge/LICENSE%20SCAN-PASSING❤️-CD2956?style=for-the-badge&logo=fossa)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkataras%2Firis?ref=badge_shield)--> [![donate](https://img.shields.io/badge/support-Iris-blue.svg?style=for-the-badge&logo=paypal)](https://iris-go.com/donate) <!--[![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=for-the-badge)](https://goreportcard.com/report/github.com/kataras/iris)--><!--[![godocs](https://img.shields.io/badge/go-%20docs-488AC7.svg?style=for-the-badge)](https://pkg.go.dev/github.com/kataras/iris/[email protected])--> <!-- [![release](https://img.shields.io/badge/release%20-v12.0-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -->

_examples/auth/basicauth/database/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/go-sql-driver/mysql v1.7.1
7-
github.com/kataras/iris/v12 v12.2.9-0.20240109231132-d32eb68ed48d
7+
github.com/kataras/iris/v12 v12.2.10-0.20240113102250-0063f1ce394f
88
)
99

1010
require (
@@ -13,7 +13,7 @@ require (
1313
github.com/CloudyKit/jet/v6 v6.2.0 // indirect
1414
github.com/Joker/jade v1.1.3 // indirect
1515
github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 // indirect
16-
github.com/andybalholm/brotli v1.0.6 // indirect
16+
github.com/andybalholm/brotli v1.1.0 // indirect
1717
github.com/aymerick/douceur v0.2.0 // indirect
1818
github.com/fatih/structs v1.1.0 // indirect
1919
github.com/flosch/pongo2/v4 v4.0.2 // indirect
@@ -35,14 +35,14 @@ require (
3535
github.com/russross/blackfriday/v2 v2.1.0 // indirect
3636
github.com/schollz/closestmatch v2.1.0+incompatible // indirect
3737
github.com/sirupsen/logrus v1.8.1 // indirect
38-
github.com/tdewolff/minify/v2 v2.20.12 // indirect
39-
github.com/tdewolff/parse/v2 v2.7.7 // indirect
38+
github.com/tdewolff/minify/v2 v2.20.13 // indirect
39+
github.com/tdewolff/parse/v2 v2.7.8 // indirect
4040
github.com/valyala/bytebufferpool v1.0.0 // indirect
4141
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
4242
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
4343
github.com/yosssi/ace v0.0.5 // indirect
4444
golang.org/x/crypto v0.18.0 // indirect
45-
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect
45+
golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e // indirect
4646
golang.org/x/net v0.20.0 // indirect
4747
golang.org/x/sys v0.16.0 // indirect
4848
golang.org/x/text v0.14.0 // indirect

_examples/auth/basicauth/database/go.sum

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_examples/auth/jwt/tutorial/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/google/uuid v1.5.0
7-
github.com/kataras/iris/v12 v12.2.9-0.20240109231132-d32eb68ed48d
7+
github.com/kataras/iris/v12 v12.2.10-0.20240113102250-0063f1ce394f
88
golang.org/x/crypto v0.18.0
99
)
1010

@@ -14,7 +14,7 @@ require (
1414
github.com/CloudyKit/jet/v6 v6.2.0 // indirect
1515
github.com/Joker/jade v1.1.3 // indirect
1616
github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 // indirect
17-
github.com/andybalholm/brotli v1.0.6 // indirect
17+
github.com/andybalholm/brotli v1.1.0 // indirect
1818
github.com/aymerick/douceur v0.2.0 // indirect
1919
github.com/fatih/structs v1.1.0 // indirect
2020
github.com/flosch/pongo2/v4 v4.0.2 // indirect
@@ -36,13 +36,13 @@ require (
3636
github.com/russross/blackfriday/v2 v2.1.0 // indirect
3737
github.com/schollz/closestmatch v2.1.0+incompatible // indirect
3838
github.com/sirupsen/logrus v1.8.1 // indirect
39-
github.com/tdewolff/minify/v2 v2.20.12 // indirect
40-
github.com/tdewolff/parse/v2 v2.7.7 // indirect
39+
github.com/tdewolff/minify/v2 v2.20.13 // indirect
40+
github.com/tdewolff/parse/v2 v2.7.8 // indirect
4141
github.com/valyala/bytebufferpool v1.0.0 // indirect
4242
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
4343
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
4444
github.com/yosssi/ace v0.0.5 // indirect
45-
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect
45+
golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e // indirect
4646
golang.org/x/net v0.20.0 // indirect
4747
golang.org/x/sys v0.16.0 // indirect
4848
golang.org/x/text v0.14.0 // indirect

_examples/auth/jwt/tutorial/go.sum

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)