mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
PartyConfigure: try to bind the struct's exported zero fields based on the registered dependencies (if any)
If the PartyConfigurator value accepts only static dependencies then we have zero performance penalty, exactly like a Controller (structure) works
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Code generated by go-bindata. (@generated) DO NOT EDIT.
|
||||
|
||||
//Package main generated by go-bindata.// sources:
|
||||
//Package main generated by go-bindata.// sources:
|
||||
// assets/css/main.css
|
||||
// assets/favicon.ico
|
||||
// assets/js/main.js
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"bytes"
|
||||
"compress/gzip"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
@@ -81,7 +81,6 @@ func (fi bindataFileInfo) Sys() interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
type assetFile struct {
|
||||
*bytes.Reader
|
||||
name string
|
||||
@@ -326,12 +325,12 @@ type bintree struct {
|
||||
}
|
||||
|
||||
var _bintree = &bintree{nil, map[string]*bintree{
|
||||
"css": &bintree{nil, map[string]*bintree{
|
||||
"main.css": &bintree{cssMainCss, map[string]*bintree{}},
|
||||
"css": {nil, map[string]*bintree{
|
||||
"main.css": {cssMainCss, map[string]*bintree{}},
|
||||
}},
|
||||
"favicon.ico": &bintree{faviconIco, map[string]*bintree{}},
|
||||
"js": &bintree{nil, map[string]*bintree{
|
||||
"main.js": &bintree{jsMainJs, map[string]*bintree{}},
|
||||
"favicon.ico": {faviconIco, map[string]*bintree{}},
|
||||
"js": {nil, map[string]*bintree{
|
||||
"main.js": {jsMainJs, map[string]*bintree{}},
|
||||
}},
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user