mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 02:47:04 +00:00
Iris has been updated to v4.4.0 . Fix travis plugin_test...
Read HISTORY.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user