proxy.golang.org : github.com/hidevopsio/hiboot : v1.8.3
Package hiboot is a web/cli app application framework Hiboot is a cloud native web and cli application framework written in Go. Hiboot integrates the popular libraries but make them simpler, easier to use. It borrowed some of the Spring features like dependency injection, aspect oriented programming, and auto configuration. You can integrate any other libraries easily by auto configuration with dependency injection support. hiboot-data is the typical project that implement customized hiboot starters. see https://godoc.org/github.com/hidevopsio/hiboot-data Overview One of the most significant feature of Hiboot is Dependency Injection. Hiboot implements JSR-330 standard. Let's say that we have two implementations of AuthenticationService, below will explain how does Hiboot work. In Hiboot the injection into fields is triggered by `inject:""` struct tag. when inject tag is present on a field, Hiboot tries to resolve the object to inject by the type of the field. If several implementations of the same service interface are available, you have to disambiguate which implementation you want to be injected. This can be done by naming the field to specific implementation. Although Field Injection is pretty convenient, but the Constructor Injection is the first-class citizen, we usually advise people to use constructor injection as it has below advantages, It's testable, easy to implement unit test. Syntax validation, with syntax validation on most of the IDEs to avoid typo. No need to use a dedicated mechanism to ensure required properties are set. type userController struct { at.RestController basicAuthenticationService AuthenticationService } // Hiboot will inject the implementation of AuthenticationService func newUserController(basicAuthenticationService AuthenticationService) { return &userController{ basicAuthenticationService: basicAuthenticationService, } } func init() { app.Register(newUserController) } Features This section will show you how to create and run a simplest hiboot application. Let’s get started! Get the source code Source Code This is a simple hello world example
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/hidevopsio/[email protected]
Published:
Indexed:
- github.com/BurntSushi/toml v0.3.1
- github.com/Joker/jade v1.0.0
- github.com/PuerkitoBio/purell v1.1.1
- github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
- github.com/Shopify/goreferrer v0.0.0-20180807163728-b9777dc9f9cc
- github.com/ajg/form v1.5.1
- github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
- github.com/aymerick/douceur v0.2.0
- github.com/aymerick/raymond v2.0.2+incompatible
- github.com/davecgh/go-spew v1.1.1
- github.com/deckarep/golang-set v1.7.1
- github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385
- github.com/fatih/camelcase v1.0.0
- github.com/fatih/structs v1.1.0
- github.com/flosch/pongo2 v0.0.0-20180809100617-24195e6d38b0
- github.com/fsnotify/fsnotify v1.7.0
- github.com/gavv/monotime v0.0.0-20190418164738-30dba4353424
- github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
- github.com/go-openapi/analysis v0.19.2
- github.com/go-openapi/errors v0.19.2
- github.com/go-openapi/jsonpointer v0.19.2
- github.com/go-openapi/jsonreference v0.19.2
- github.com/go-openapi/loads v0.19.2
- github.com/go-openapi/runtime v0.19.4
- github.com/go-openapi/spec v0.19.2
- github.com/go-openapi/strfmt v0.19.0
- github.com/go-openapi/swag v0.19.2
- github.com/go-openapi/validate v0.19.2
- github.com/go-playground/locales v0.13.0
- github.com/go-playground/universal-translator v0.17.0
- github.com/go-playground/validator/v10 v10.5.0
- github.com/golang-jwt/jwt v3.2.2+incompatible
- github.com/google/go-querystring v1.1.0
- github.com/gorilla/css v1.0.0
- github.com/gorilla/handlers v1.4.2
- github.com/gorilla/websocket v1.4.2
- github.com/hashicorp/hcl v1.0.0
- github.com/hidevopsio/formBinder v0.0.0-20240811094544-2118e9d3668d
- github.com/hidevopsio/go-uuid v0.0.0-20240811102623-0749af16addf
- github.com/hidevopsio/gocron v1.6.1-0.20210602042859-a8b1ada7665d
- github.com/hidevopsio/golog v0.0.0-20240811115351-6b4a7711e704
- github.com/hidevopsio/httpexpect v0.0.0-20240811100504-92ed99bc8bec
- github.com/hidevopsio/i18n v0.0.0-20240811095331-eee3daa5c80f
- github.com/hidevopsio/iris v0.0.0-20250619080008-fd8c753eba09
- github.com/hidevopsio/mapstructure v1.1.3-0.20190908102033-f8832fd9e307
- github.com/hidevopsio/middleware v0.0.0-20240811142457-7e33354fa83f
- github.com/hidevopsio/pio v0.0.0-20240811115022-e705bbf749aa
- github.com/hidevopsio/viper v1.2.2-0.20210220025633-ccb4b202d169
- github.com/imkira/go-interpol v1.1.0
- github.com/inconshreveable/mousetrap v1.0.0
- github.com/json-iterator/go v1.1.12
- github.com/juju/errors v1.0.0
- github.com/klauspost/compress v1.4.0
- github.com/klauspost/cpuid v1.3.1
- github.com/leodido/go-urn v1.2.0
- github.com/magiconair/properties v1.8.1
- github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63
- github.com/microcosm-cc/bluemonday v1.0.26
- github.com/mitchellh/mapstructure v1.3.3
- github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
- github.com/modern-go/reflect2 v1.0.2
- github.com/moul/http2curl v1.0.0
- github.com/pelletier/go-toml v1.2.0
- github.com/pmezard/go-difflib v1.0.0
- github.com/rakyll/statik v0.1.6
- github.com/robfig/cron/v3 v3.0.1
- github.com/rs/cors v1.11.0
- github.com/ryanuber/columnize v2.1.0+incompatible
- github.com/sergi/go-diff v1.3.1
- github.com/shurcooL/sanitized_anchor_name v1.0.0
- github.com/sony/sonyflake v1.2.0
- github.com/spf13/afero v1.1.2
- github.com/spf13/cast v1.3.0
- github.com/spf13/cobra v0.0.5
- github.com/spf13/jwalterweatherman v1.0.0
- github.com/spf13/pflag v1.0.3
- github.com/stretchr/testify v1.9.0
- github.com/subosito/gotenv v1.2.0
- github.com/valyala/bytebufferpool v1.0.0
- github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
- github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
- github.com/xeipuuv/gojsonschema v1.2.0
- github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0
- github.com/yudai/gojsondiff v1.0.0
- github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82
- golang.org/x/crypto v0.36.0
- golang.org/x/net v0.38.0
- golang.org/x/sync v0.12.0
- golang.org/x/sys v0.31.0
- golang.org/x/text v0.23.0
- gopkg.in/ini.v1 v1.67.0
- gopkg.in/russross/blackfriday.v2 v2.0.0+incompatible
- gopkg.in/yaml.v2 v2.4.0
- gopkg.in/yaml.v3 v3.0.1