mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Iris has been updated to v4.4.0 . Fix travis plugin_test...
Read HISTORY.md
This commit is contained in:
parent
ebfbe5cd34
commit
4bf1d65877
|
@ -73,11 +73,12 @@ func ExamplePlugins_Add() {
|
|||
Plugins.Add(myplugin)
|
||||
desc := Plugins.GetDescription(myplugin)
|
||||
fmt.Println(desc)
|
||||
go Listen(":8080")
|
||||
|
||||
if ok := <-Available; ok {
|
||||
Close()
|
||||
}
|
||||
// travis have problems if I do that using
|
||||
// Listen(":8080") and Close()
|
||||
Plugins.DoPreListen(Default)
|
||||
Plugins.DoPostListen(Default)
|
||||
Plugins.DoPreClose(Default)
|
||||
|
||||
// Output:
|
||||
// GetName Struct
|
||||
|
|
Loading…
Reference in New Issue
Block a user