https://github.com/xmlking/macro
Macro is for Micro: A fat-binary version of micro with ALL the plugins built in
https://github.com/xmlking/macro
Last synced: 8 months ago
JSON representation
Macro is for Micro: A fat-binary version of micro with ALL the plugins built in
- Host: GitHub
- URL: https://github.com/xmlking/macro
- Owner: xmlking
- License: apache-2.0
- Created: 2019-11-28T20:54:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T08:42:01.000Z (over 6 years ago)
- Last Synced: 2025-01-30T05:43:20.777Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Macro
Macro is for micro. Macro is a version of micro with ALL the plugins built in.
## Overview
Many people seem to want a prebuilt version of micro with all the plugins. Or they just don't want to deal with the
hassle of managing which plugins to add. Macro builds in all the plugins. Anything in go-plugins will be included
in macro.
Note: Macro as micro compiles to an 86mb binary and has significant memory overhead.
## How it works
Macro creates a `plugins.go` file in the top level repo which is then imported by the binary. This is generated very
simply by a shell script also in the top directory called `plugins.sh`. The script is run on any rebuild of the
repository.
## Usage
Macro still returns a `micro` binary
```
go get github.com/micro/macro/cmd/micro
```
For go-micro aka go-macro usage
```
import "github.com/micro/macro/go/micro"
```