filecompiler

package
v0.0.0-...-aaac4c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoffeeCompiler

type CoffeeCompiler struct {
	// contains filtered or unexported fields
}

CoffeeCompiler is here to compile a coffeescript file into a js file it s also here to show you how to make a file compiler

func NewCoffeeCompiler

func NewCoffeeCompiler() *CoffeeCompiler

NewCoffeeCompiler returns a new CoffeeCompiler

func (*CoffeeCompiler) Process

func (cc *CoffeeCompiler) Process(content []byte, path string) (ret []byte, err error)

Process to implement ContentTreatmentInterface

type SassCompiler

type SassCompiler struct {
}

SassCompiler is here to compile a sass file into a scss file it s also here to show you how to make a file compiler

func (*SassCompiler) Process

func (sc *SassCompiler) Process(content []byte, path string) ([]byte, error)

Process to implement ContentTreatmentInterface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL