Top 0.6% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 4.6% forks on proxy.golang.org
proxy.golang.org : github.com/shuLhan/go-bindata
Package bindata converts any file into manageable Go source code. Useful for embedding binary data into a go program. The file data is optionally gzip compressed before being converted to a raw byte slice. The following paragraphs cover some of the customization options which can be specified in the Config struct, which must be passed into the Translate() call. When used with the `Debug` option, the generated code does not actually include the asset data. Instead, it generates function stubs which load the data from the original file on disk. The asset API remains identical between debug and release builds, so your code will not have to change. This is useful during development when you expect the assets to change often. The host application using these assets uses the same API in both cases and will not have to care where the actual data comes from. An example is a Go webserver with some embedded, static web content like HTML, JS and CSS files. While developing it, you do not want to rebuild the whole server and restart it every time you make a change to a bit of javascript. You just want to build and launch the server once. Then just press refresh in the browser to see those changes. Embedding the assets with the `debug` flag allows you to do just that. When you are finished developing and ready for deployment, just re-invoke `go-bindata` without the `-debug` flag. It will now embed the latest version of the assets. The `NoMemCopy` option will alter the way the output file is generated. It will employ a hack that allows us to read the file data directly from the compiled program's `.rodata` section. This ensures that when we call call our generated function, we omit unnecessary memcopies. The downside of this, is that it requires dependencies on the `reflect` and `unsafe` packages. These may be restricted on platforms like AppEngine and thus prevent you from using this mode. Another disadvantage is that the byte slice we create, is strictly read-only. For most use-cases this is not a problem, but if you ever try to alter the returned byte slice, a runtime panic is thrown. Use this mode only on target platforms where memory constraints are an issue. The default behaviour is to use the old code generation method. This prevents the two previously mentioned issues, but will employ at least one extra memcopy and thus increase memory requirements. For instance, consider the following two examples: This would be the default mode, using an extra memcopy but gives a safe implementation without dependencies on `reflect` and `unsafe`: Here is the same functionality, but uses the `.rodata` hack. The byte slice returned from this example can not be written to without generating a runtime error. The NoCompress option indicates that the supplied assets are *not* GZIP compressed before being turned into Go code. The data should still be accessed through a function call, so nothing changes in the API. This feature is useful if you do not care for compression, or the supplied resource is already compressed. Doing it again would not add any value and may even increase the size of the data. The default behaviour of the program is to use compression. The keys used in the `_bindata` map are the same as the input file name passed to `go-bindata`. This includes the path. In most cases, this is not desirable, as it puts potentially sensitive information in your code base. For this purpose, the tool supplies another command line flag `-prefix`. This accepts a [regular expression](https://github.com/google/re2/wiki/Syntax) string, which will be used to match a portion of the map keys and function names that should be stripped out. For example, running without the `-prefix` flag, we get: Running with the `-prefix` flag, we get: With the optional Tags field, you can specify any go build tags that must be fulfilled for the output file to be included in a build. This is useful when including binary data in multiple formats, where the desired format is specified at build time with the appropriate tags. The tags are appended to a `// +build` line in the beginning of the output file and must follow the build tags syntax specified by the go tool. When you want to embed big files or plenty of files, then the generated output is really big (maybe over 3Mo). Even if the generated file shouldn't be read, you probably need use analysis tool or an editor which can become slower with a such file. Generating big files can be avoided with `-split` command line option. In that case, the given output is a directory path, the tool will generate one source file per file to embed, and it will generate a common file nammed `common.go` which contains commons parts like API.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/shu%21lhan/go-bindata
Keywords:
go
, golang
License: CC0-1.0
Latest release: almost 5 years ago
First release: almost 12 years ago
Namespace: github.com/shuLhan
Dependent packages: 69
Dependent repositories: 153
Stars: 183 on GitHub
Forks: 25 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago
github.com/mdshack/dbanon v1.1.3
A run anywhere database anonymizer6 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/StackVista/stackstate-agent v0.0.0-20230920085751-e36d1c8843c5
MIRROR of the stackstate-agent project hosted on a private Gitlab repository29 versions - Latest release: over 1 year ago - 1 dependent repositories - 1 stars on GitHub
github.com/hxntaish/upload.raven.ovh v0.0.0-20230724063835-15dc9ddf7af1
html files and shit1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/vmware-tanzu/tanzu-framework/hack/tools v0.0.0-20230707192002-93a508a39d94
Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverag...105 versions - Latest release: almost 2 years ago - 193 stars on GitHub
github.com/vmware-tanzu/tanzu-framework/pinniped-components/hack/tools v0.0.0-20230415084831-9331f55d2999
Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverag...88 versions - Latest release: about 2 years ago - 193 stars on GitHub
github.com/hung-devops/transfer.sh-web v1.0.0
1 version - Latest release: about 2 years agogithub.com/Gui774ume/krie v0.0.0-20230307101709-d7a781df1d10
Linux Kernel Runtime Integrity with eBPF2 versions - Latest release: about 2 years ago - 151 stars on GitHub
github.com/Gui774ume/fsprobe v0.0.0-20230228163930-97d2b7009776
A file system events notifier based on eBPF2 versions - Latest release: over 2 years ago - 30 stars on GitHub
github.com/Gui774ume/ebpfkit-monitor v0.0.0-20230228161620-d5876ce2085d
ebpfkit-monitor is a tool that detects and protects against eBPF powered rootkits2 versions - Latest release: over 2 years ago - 90 stars on GitHub
github.com/Gui774ume/ebpfkit v0.0.0-20230228161612-5727985eab7e
ebpfkit is a rootkit powered by eBPF2 versions - Latest release: over 2 years ago - 504 stars on GitHub
github.com/iflyime/transfer.sh-web v0.0.0-20230129015518-c75fb4b77d07
2 versions - Latest release: over 2 years agogithub.com/dutchcoders/transfer.sh-web v0.0.0-20221119114740-ca3a2621d2a6
2 versions - Latest release: over 2 years ago - 22 dependent packages - 17 dependent repositories - 64 stars on GitHubgitlab.com/shitiomatic/lonchat v0.0.0-20200418184821-5824ace40f0e
1 version - Latest release: over 2 years agogithub.com/mpchadwick/dbanon v0.7.1
A run anywhere database anonymizer14 versions - Latest release: almost 3 years ago - 50 stars on GitHub
github.com/chriskalix/ebpfmanager v0.3.0
A golang ebpf libary based on cilium/ebpf and datadog/ebpf.6 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/chriskaliX/ebpfmanager v0.3.0
A golang ebpf libary based on cilium/ebpf and datadog/ebpf.6 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/nippold/transfer.sh-web v0.0.0-20220512092551-f228a17b9ec6
1 version - Latest release: about 3 years agogithub.com/yijinlee/transfer.sh-web v0.0.0-20220504084046-e6313afd90dd
1 version - Latest release: about 3 years agogithub.com/peing/transfer.sh-web v0.0.0-20220502150723-2a5d0edb715e
1 version - Latest release: about 3 years agogithub.com/OwOver/transfer.sh-web v0.0.0-20220502070419-1eda154e45c0
1 version - Latest release: about 3 years agogithub.com/OwOver/web v0.0.0-20220502062358-389f42d94051
1 version - Latest release: about 3 years agogithub.com/ehids/ehids v0.1.1 removed
2 versions - Latest release: about 3 years agogithub.com/ehids/ehids-agent v0.1.1
A Linux Host-based Intrusion Detection System based on eBPF.2 versions - Latest release: about 3 years ago - 303 stars on GitHub
github.com/yu-steven/proxypool v0.6.2
SS / SSR / Trojan / vMess 节点爬虫,支持一键安装44 versions - Latest release: about 3 years ago - 5 stars on GitHub
github.com/ethash/eminer v0.0.0-20220312192026-9b2c7191a21e
Another ethash miner1 version - Latest release: about 3 years ago - 1 dependent package - 1 dependent repositories - 7 stars on GitHub
github.com/Gui774ume/utrace v0.0.0-20220113115115-6e35a90487bc
UTrace is a tracing utility that leverages eBPF to trace both user space and kernel space functions1 version - Latest release: over 3 years ago - 23 stars on GitHub
gitlab.com/hzone/h-transfer v0.0.0-20211230204607-841a9a151a8a
1 version - Latest release: over 3 years ago - 0 stars on GitLab.comgithub.com/Nirusu/unixdump v0.0.0-20211202183258-3bb1284a9b2a
Small utility that leverages eBPF to dump the traffic of a unix domain socket1 version - Latest release: over 3 years ago - 0 stars on GitHub
github.com/poboc/transfer.sh-web v0.0.4
4 versions - Latest release: over 3 years ago - 0 stars on GitHubgit.trkl.it/thor/transfer.sh-web v0.0.3
3 versions - Latest release: over 3 years ago - 0 stars on git.trkl.itgithub.com/aryanugroho/demo-oauth/backend v0.0.0-20211105114946-f7246fe4f7bf
1 version - Latest release: over 3 years ago - 0 stars on GitHubgithub.com/ojongerius/datadog-agent v0.9.0
Datadog Agent1 version - Latest release: over 3 years ago - 0 stars on GitHub
github.com/kongfei605/datadog-agent v0.9.0
1 version - Latest release: over 3 years agogithub.com/Datadog/datadog-agent v0.9.0
Datadog Agent2 versions - Latest release: over 3 years ago - 2,073 stars on GitHub
github.com/datadog/datadog-agent v0.9.0
Datadog Agent2 versions - Latest release: over 3 years ago - 2,073 stars on GitHub
github.com/dataDog/datadog-agent v0.9.0
Datadog Agent2 versions - Latest release: over 3 years ago - 2,073 stars on GitHub
github.com/nirmit/transfer.sh-web v0.0.0-20211005143302-146fcef1193e
1 version - Latest release: over 3 years ago - 0 stars on GitHubgithub.com/Gui774ume/unixdump v0.0.0-20210925220600-5a97dfbd7aa1
Small utility that leverages eBPF to dump the traffic of a unix domain socket1 version - Latest release: over 3 years ago - 9 stars on GitHub
gitlab.jonasled.de/jonasled/transfer.sh-web v1.0.0
1 version - Latest release: almost 4 years agogithub.com/Marck/transfer.sh-web v0.0.0-20210705100807-fa18bafceb96
2 versions - Latest release: almost 4 years ago - 0 stars on GitHubgithub.com/pojntfx/wascan v1.0.0
1 version - Latest release: about 4 years agogithub.com/pojntfx/liwasc v1.0.0
List, wake and scan nodes in a network.1 version - Latest release: about 4 years ago - 1 dependent package - 1 dependent repositories - 145 stars on GitHub
github.com/louis77/goscope v1.5.4
2 versions - Latest release: over 4 years agogithub.com/Gui774ume/network-security-probe v0.0.0-20200616201827-24e3e8339741
A process level network security monitoring and enforcement project for Kubernetes, using eBPF1 version - Latest release: almost 5 years ago - 35 stars on GitHub
github.com/dialup-inc/ascii v0.0.0-20191031215043-07c3fdeef4e5
👾 ASCII Roulette :: ascii art video chat on the cli1 version - Latest release: over 5 years ago - 5 dependent packages - 252 stars on GitHub
github.com/geowa4/base-go v0.0.0-20181210132353-5ce4b29e7e67
Experimenting with making a base Go setup1 version - Latest release: over 6 years ago - 0 stars on GitHub
github.com/jlucktay/xkcdpwd v0.1.1
2 versions - Latest release: over 6 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.