-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,579 changed files
with
92,879 additions
and
109,111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version = 1 | ||
|
||
test_patterns = ["**/*_test.go"] | ||
|
||
exclude_patterns = [ | ||
"_examples/**", | ||
"_benchmarks/**", | ||
".github/**" | ||
] | ||
|
||
[[analyzers]] | ||
name = "go" | ||
enabled = true | ||
|
||
[analyzers.meta] | ||
import_paths = ["github.com/kataras/iris/v12"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Examples for the Iris project can be found at | ||
<https://github.com/kataras/iris/tree/master/_examples>. | ||
<https://github.com/kataras/iris/tree/main/_examples>. | ||
|
||
Documentation for the Iris project can be found at | ||
<https://godoc.org/github.com/kataras/iris>. | ||
<https://www.iris-go.com/docs>. | ||
|
||
Love iris? Please consider supporting the project: | ||
👉 https://iris-go.com/donate | ||
|
||
Care to be part of a larger community? Fill our user experience form: | ||
👉 https://goo.gl/forms/lnRbVgA6ICTkPyk02 | ||
👉 https://goo.gl/forms/lnRbVgA6ICTkPyk02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# We'd love to see more contributions | ||
|
||
Read how you can [contribute to the project](https://github.com/kataras/iris/blob/master/CONTRIBUTING.md). | ||
Read how you can [contribute to the project](https://github.com/kataras/iris/blob/main/CONTRIBUTING.md). | ||
|
||
> Please attach an [issue](https://github.com/kataras/iris/issues) link which your PR solves otherwise your work may be rejected. | ||
> Please attach an [issue](https://github.com/kataras/iris/issues) link which your PR solves otherwise your work may be rejected. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
for f in ../../_examples/*; do | ||
if [ -d "$f" ]; then | ||
# Will not run if no directories are available | ||
go mod init | ||
go get -u github.com/kataras/iris/v12@latest | ||
go mod download | ||
go run . | ||
fi | ||
done | ||
|
||
# git update-index --chmod=+x ./.github/scripts/setup_examples_test.bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
go_version: [1.22.x] | ||
steps: | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: './go.mod' | ||
check-latest: true | ||
- run: go version | ||
|
||
- name: Test | ||
run: go test -v ./... | ||
|
||
- name: Setup examples for testing | ||
run: ./.github/scripts/setup_examples_test.bash | ||
|
||
- name: Test examples | ||
continue-on-error: true | ||
working-directory: _examples | ||
run: go test -v -mod=mod -cover -race ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ main ] | ||
schedule: | ||
- cron: '24 11 * * 6' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'go'] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | ||
# Learn more: | ||
# 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 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: './go.mod' | ||
check-latest: true | ||
- run: go version | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
# queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v3 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
.idea | ||
.vscode | ||
_authortools | ||
.directory | ||
node_modules | ||
coverage.out | ||
package-lock.json | ||
_benchmarks/benchmarker/benchmarker.exe | ||
_benchmarks/benchmarker/platforms | ||
go.sum | ||
access.log | ||
node_modules | ||
issue-*/ | ||
internalcode-*/ | ||
/_examples/feature-*/ | ||
_examples/**/uploads/* | ||
_issues/** | ||
.DS_STORE |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,6 @@ Add a `badge` to your open-source projects powered by [Iris](https://iris-go.com | |
[![iris](https://img.shields.io/badge/iris-powered-2196f3.svg?style=for-the-badge)](https://github.com/kataras/iris) | ||
``` | ||
|
||
> 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 | ||
## Editors & IDEs Extensions | ||
|
||
### 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 | |
## How to upgrade | ||
|
||
```sh | ||
go get -u github.com/kataras/iris/v12@latest | ||
go get github.com/kataras/iris/v12@latest | ||
``` | ||
|
||
Go version 1.13 and above is required. | ||
Go version 1.20 and above is required. | ||
|
||
## Learning | ||
|
||
More than 100 practical examples, tutorials and articles at: | ||
More than 280 practical examples, tutorials and articles at: | ||
|
||
- https://iris-go.com/start | ||
- https://github.com/kataras/iris/wiki/Starter-kits | ||
- https://github.com/iris-contrib/examples | ||
- https://godoc.org/github.com/kataras/iris | ||
- https://bit.ly/iris-req-book | ||
- https://www.iris-go.com/docs | ||
- https://www.iris-go.com/#ebookDonateForm | ||
<!-- - https://github.com/kataras/iris/wiki/Starter-kits --> | ||
- https://github.com/kataras/iris/tree/main/_examples | ||
- https://pkg.go.dev/github.com/kataras/iris/[email protected] | ||
|
||
## Active development mode | ||
|
||
|
@@ -47,12 +45,12 @@ open for Iris-specific developers the time we speak. | |
|
||
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 | ||
|
||
## Do we have a community Chat? | ||
## Do we have a Community chat? | ||
|
||
Yes, https://chat.iris-go.com | ||
|
||
## How is the development of Iris supported? | ||
## How is the development of Iris economically supported? | ||
|
||
By normal people, like you, who help us by donating small or large amounts of money. | ||
By people like you, who help us by donating small or large amounts of money. | ||
|
||
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. | ||
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. |
Oops, something went wrong.