An open API service indexing awesome lists of open source software.

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

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"
```