Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 512 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 512 Bytes

plantuml-encode

Simple Go command to encode PlantUML source for the server.

Install

$ go get github.com/orlade/plantuml-encode

Usage

$ cat file.puml | plantuml-encode

Docker:

$ cat file.puml | docker run -i --rm orlade/plantuml-encode

Use as a Go library

Import the library:

import "github.com/orlade/plantuml-encode/plantuml"

Call DeflateAndEncode with some PlantUML source:

plantuml.DeflateAndEncode([]byte("@startuml ... @enduml"))