Skip to content

Commit 08a852e

Browse files
committed
last version of v12
2 parents 55357a1 + 4117f3b commit 08a852e

File tree

1,579 files changed

+92879
-109111
lines changed

Some content is hidden

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

1,579 files changed

+92879
-109111
lines changed

.deepsource.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version = 1
2+
3+
test_patterns = ["**/*_test.go"]
4+
5+
exclude_patterns = [
6+
"_examples/**",
7+
"_benchmarks/**",
8+
".github/**"
9+
]
10+
11+
[[analyzers]]
12+
name = "go"
13+
enabled = true
14+
15+
[analyzers.meta]
16+
import_paths = ["github.com/kataras/iris/v12"]

.fossa.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
version: 2
1+
version: 3
22
cli:
33
server: https://app.fossa.com
4-
fetcher: custom
5-
project: https://github.com/kataras/iris.git
4+
fetcher: git
5+
package: github.com/kataras/iris
6+
project: github.com/kataras/iris
67
analyze:
78
modules:
89
- name: iris

.github/ISSUE_TEMPLATE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Examples for the Iris project can be found at
2-
<https://github.com/kataras/iris/tree/master/_examples>.
2+
<https://github.com/kataras/iris/tree/main/_examples>.
33

44
Documentation for the Iris project can be found at
5-
<https://godoc.org/github.com/kataras/iris>.
5+
<https://www.iris-go.com/docs>.
66

77
Love iris? Please consider supporting the project:
88
👉 https://iris-go.com/donate
99

1010
Care to be part of a larger community? Fill our user experience form:
11-
👉 https://goo.gl/forms/lnRbVgA6ICTkPyk02
11+
👉 https://goo.gl/forms/lnRbVgA6ICTkPyk02

.github/ISSUE_TEMPLATE/bug_report.md

+11
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,16 @@ If applicable, add screenshots to help explain your problem.
2323
**Desktop (please complete the following information):**
2424
- OS: [e.g. ubuntu, windows]
2525

26+
**iris.Version**
27+
- e.g. v12.2.11
28+
29+
Please make sure the bug is reproducible over the `main` branch:
30+
31+
```sh
32+
$ cd PROJECT
33+
$ go get -u github.com/kataras/iris/v12@latest
34+
$ go run .
35+
```
36+
2637
**Additional context**
2738
Add any other context about the problem here.

.github/PULL_REQUEST_TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# We'd love to see more contributions
22

3-
Read how you can [contribute to the project](https://github.com/kataras/iris/blob/master/CONTRIBUTING.md).
3+
Read how you can [contribute to the project](https://github.com/kataras/iris/blob/main/CONTRIBUTING.md).
44

5-
> Please attach an [issue](https://github.com/kataras/iris/issues) link which your PR solves otherwise your work may be rejected.
5+
> Please attach an [issue](https://github.com/kataras/iris/issues) link which your PR solves otherwise your work may be rejected.

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gomod"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
3+
for f in ../../_examples/*; do
4+
if [ -d "$f" ]; then
5+
# Will not run if no directories are available
6+
go mod init
7+
go get -u github.com/kataras/iris/v12@latest
8+
go mod download
9+
go run .
10+
fi
11+
done
12+
13+
# git update-index --chmod=+x ./.github/scripts/setup_examples_test.bash

.github/workflows/ci.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
14+
test:
15+
name: Test
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
matrix:
20+
go_version: [1.22.x]
21+
steps:
22+
23+
- name: Check out code into the Go module directory
24+
uses: actions/checkout@v4
25+
26+
- name: Set up Go 1.x
27+
uses: actions/setup-go@v5
28+
with:
29+
go-version-file: './go.mod'
30+
check-latest: true
31+
- run: go version
32+
33+
- name: Test
34+
run: go test -v ./...
35+
36+
- name: Setup examples for testing
37+
run: ./.github/scripts/setup_examples_test.bash
38+
39+
- name: Test examples
40+
continue-on-error: true
41+
working-directory: _examples
42+
run: go test -v -mod=mod -cover -race ./...

.github/workflows/codeql-analysis.yml

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ main ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ main ]
20+
schedule:
21+
- cron: '24 11 * * 6'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
permissions:
28+
actions: read
29+
contents: read
30+
security-events: write
31+
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
language: [ 'go']
36+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37+
# Learn more:
38+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39+
40+
steps:
41+
- name: Checkout repository
42+
uses: actions/checkout@v4
43+
44+
- name: Set up Go 1.x
45+
uses: actions/setup-go@v5
46+
with:
47+
go-version-file: './go.mod'
48+
check-latest: true
49+
- run: go version
50+
51+
# Initializes the CodeQL tools for scanning.
52+
- name: Initialize CodeQL
53+
uses: github/codeql-action/init@v2
54+
with:
55+
languages: ${{ matrix.language }}
56+
# If you wish to specify custom queries, you can do so here or in a config file.
57+
# By default, queries listed here will override any specified in a config file.
58+
# Prefix the list here with "+" to use these queries and those in the config file.
59+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
60+
61+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
62+
# If this step fails, then you should remove it and run the build manually (see below)
63+
- name: Autobuild
64+
uses: github/codeql-action/autobuild@v3
65+
66+
# ℹ️ Command-line programs to run using the OS shell.
67+
# 📚 https://git.io/JvXDl
68+
69+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
70+
# and modify them (or add more) to build your code if your project
71+
# uses a compiled language
72+
73+
#- run: |
74+
# make bootstrap
75+
# make release
76+
77+
- name: Perform CodeQL Analysis
78+
uses: github/codeql-action/analyze@v3

.github/workflows/go.yml

-33
This file was deleted.

.gitignore

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
.idea
12
.vscode
2-
_authortools
33
.directory
4-
node_modules
4+
coverage.out
55
package-lock.json
6-
_benchmarks/benchmarker/benchmarker.exe
7-
_benchmarks/benchmarker/platforms
8-
go.sum
6+
access.log
7+
node_modules
8+
issue-*/
9+
internalcode-*/
10+
/_examples/feature-*/
11+
_examples/**/uploads/*
12+
_issues/**
13+
.DS_STORE

.travis.yml

-29
This file was deleted.

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
First of all read our [Code of Conduct](https://github.com/kataras/iris/blob/master/CODE_OF_CONDUCT.md).
3+
First of all read our [Code of Conduct](https://github.com/kataras/iris/blob/main/CODE_OF_CONDUCT.md).
44

55
## PR
66

@@ -26,7 +26,7 @@ Instructions can be found at: https://github.com/kataras/iris/issues/796
2626

2727
### Writing
2828

29-
Write an article about Iris in https://medium.com , https://dev.to or if you're being a hackathon at https://hackernoon.com, some [examples](https://github.com/kataras/iris/wiki/Publications).
29+
Write an article about Iris in https://medium.com, https://dev.to or if you're being a hackathon at https://hackernoon.com and send us the link on iris-go@outlook.com.
3030

3131
### Social networks
3232

FAQ.md

+12-14
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Add a `badge` to your open-source projects powered by [Iris](https://iris-go.com
88
[![iris](https://img.shields.io/badge/iris-powered-2196f3.svg?style=for-the-badge)](https://github.com/kataras/iris)
99
```
1010

11-
> The badge is optionally, of course, it is just a simple and fast way to support Iris. The badge is work of a third-party, taken from https://github.com/blob-go/blob-go which was published by our friend @clover113 and we loved it<3
12-
1311
## Editors & IDEs Extensions
1412

1513
### Visual Studio Code <a href="https://marketplace.visualstudio.com/items?itemName=kataras2006.iris"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Visual_Studio_Code_1.18_icon.svg/2000px-Visual_Studio_Code_1.18_icon.svg.png" height="20px" width="20px" /></a>
@@ -21,20 +19,20 @@ Add a `badge` to your open-source projects powered by [Iris](https://iris-go.com
2119
## How to upgrade
2220

2321
```sh
24-
go get -u github.com/kataras/iris/v12@latest
22+
go get github.com/kataras/iris/v12@latest
2523
```
2624

27-
Go version 1.13 and above is required.
25+
Go version 1.20 and above is required.
2826

2927
## Learning
3028

31-
More than 100 practical examples, tutorials and articles at:
29+
More than 280 practical examples, tutorials and articles at:
3230

33-
- https://iris-go.com/start
34-
- https://github.com/kataras/iris/wiki/Starter-kits
35-
- https://github.com/iris-contrib/examples
36-
- https://godoc.org/github.com/kataras/iris
37-
- https://bit.ly/iris-req-book
31+
- https://www.iris-go.com/docs
32+
- https://www.iris-go.com/#ebookDonateForm
33+
<!-- - https://github.com/kataras/iris/wiki/Starter-kits -->
34+
- https://github.com/kataras/iris/tree/main/_examples
35+
- https://pkg.go.dev/github.com/kataras/iris/[email protected]
3836

3937
## Active development mode
4038

@@ -47,12 +45,12 @@ open for Iris-specific developers the time we speak.
4745

4846
Go to our facebook page, like it and receive notifications about new job offers, we already have couple of them stay at the top of the page: https://www.facebook.com/iris.framework
4947

50-
## Do we have a community Chat?
48+
## Do we have a Community chat?
5149

5250
Yes, https://chat.iris-go.com
5351

54-
## How is the development of Iris supported?
52+
## How is the development of Iris economically supported?
5553

56-
By normal people, like you, who help us by donating small or large amounts of money.
54+
By people like you, who help us by donating small or large amounts of money.
5755

58-
Help this project deliver awesome and unique features with the highest possible code quality by donating any amount via [PayPal](https://www.paypal.me/kataras). Your name will be published [here](https://iris-go.com) after your approval via e-mail.
56+
Help this project deliver awesome and unique features with the highest possible code quality by donating any amount via [PayPal or Stripe](https://iris-go.com/donate). Your name will be published [here](https://www.iris-go.com/#review) after your approval via e-mail.

0 commit comments

Comments
 (0)