-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
10 changed files
with
85 additions
and
48 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,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/tunnel@master | ||
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,37 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
go_version: [1.17] | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go_version }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- 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 was deleted.
Oops, something went wrong.
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,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2019-2020 Gerasimos Maropoulos <[email protected]> | ||
Copyright (c) 2019-2021 Gerasimos Maropoulos <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
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,14 +1,15 @@ | ||
module github.com/kataras/neffos | ||
|
||
go 1.14 | ||
go 1.15 | ||
|
||
require ( | ||
github.com/gobwas/httphead v0.0.0-20200921212729-da3d93bc3c58 // indirect | ||
github.com/gobwas/httphead v0.1.0 // indirect | ||
github.com/gobwas/pool v0.2.1 // indirect | ||
github.com/gobwas/ws v1.0.4 | ||
github.com/gobwas/ws v1.1.0 | ||
github.com/gorilla/websocket v1.4.2 | ||
github.com/iris-contrib/go.uuid v2.0.0+incompatible | ||
github.com/mediocregopher/radix/v3 v3.6.0 | ||
github.com/nats-io/nats.go v1.10.0 | ||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 | ||
github.com/mediocregopher/radix/v3 v3.7.1 | ||
github.com/nats-io/jwt v0.3.2 // indirect | ||
github.com/nats-io/nats.go v1.12.1 | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,3 +1,4 @@ | ||
//go:build go1.9 | ||
// +build go1.9 | ||
|
||
package gobwas | ||
|
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,3 +1,4 @@ | ||
//go:build go1.9 | ||
// +build go1.9 | ||
|
||
package gorilla | ||
|