Versions in this module Expand all Collapse all v0 v0.9.2 Jun 16, 2018 Changes in this version + var SassUnitConversions map[string]map[string]float64 = sassUnitConversions + func BindFuncs(opts SassOptions, cookies []Cookie) []int + func BindHeader(opts SassOptions, entries []ImportEntry) int + func BindImporter(opts SassOptions, entries []ImportEntry) int + func Bool(usv UnionSassValue) bool + func Color(usv UnionSassValue) color.Color + func DeleteValue(usv UnionSassValue) + func Float(usv UnionSassValue) float64 + func GetEntry(es []ImportEntry, parent string, path string) (string, error) + func GetImportList(ctx SassContext) []string + func HeaderBridge(cint C.int) C.Sass_Import_List + func ImporterBridge(url *C.char, prev *C.char, cidx C.int) C.Sass_Import_List + func Interface(usv UnionSassValue) interface + func IsBool(usv UnionSassValue) bool + func IsColor(usv UnionSassValue) bool + func IsError(usv UnionSassValue) bool + func IsList(usv UnionSassValue) bool + func IsMap(usv UnionSassValue) bool + func IsNil(usv UnionSassValue) bool + func IsNumber(usv UnionSassValue) bool + func IsString(usv UnionSassValue) bool + func Len(usv UnionSassValue) int + func RemoveFuncs(ids []int) error + func RemoveHeaders(idx int) error + func RemoveImporter(idx int) error + func SassCompileFileContext(gofc SassFileContext) int + func SassCompilerExecute(c SassCompiler) + func SassCompilerParse(c SassCompiler) + func SassContextGetErrorJSON(goctx SassContext) string + func SassContextGetErrorStatus(goctx SassContext) int + func SassContextGetOutputString(goctx SassContext) string + func SassContextGetSourceMapString(goctx SassContext) string + func SassDataContextSetOptions(godc SassDataContext, goopts SassOptions) + func SassDeleteCompiler(c SassCompiler) + func SassDeleteDataContext(dc SassDataContext) + func SassDeleteFileContext(fc SassFileContext) + func SassFileContextSetOptions(gofc SassFileContext, goopts SassOptions) + func SassImporterGetListEntry() + func SassImporterSetListEntry(golst SassImporterList, idx int, ent SassImporter) + func SassOptionGetSourceMapFile(goopts SassOptions) string + func SassOptionSetCFunctions() + func SassOptionSetCHeaders(gofc SassOptions, goimp SassImporterList) + func SassOptionSetCImporters(goopts SassOptions, golst SassImporterList) + func SassOptionSetIncludePath(goopts SassOptions, path string) + func SassOptionSetOmitSourceMapURL(goopts SassOptions, b bool) + func SassOptionSetOutputPath(goopts SassOptions, path string) + func SassOptionSetOutputStyle(goopts SassOptions, i int) + func SassOptionSetPrecision(goopts SassOptions, i int) + func SassOptionSetSourceComments(goopts SassOptions, b bool) + func SassOptionSetSourceMapContents(goopts SassOptions, b bool) + func SassOptionSetSourceMapEmbed(goopts SassOptions, b bool) + func SassOptionSetSourceMapFile(goopts SassOptions, path string) + func SassOptionSetSourceMapRoot(goopts SassOptions, path string) + func SetIndex(usv UnionSassValue, i int, item UnionSassValue) + func Slice(usv UnionSassValue, inf interface{}) + func String(usv UnionSassValue) string + func ToScss(r io.Reader, w io.Writer) error + func Unit(usv UnionSassValue) string + func Version() string + type Cookie struct + Ctx interface{} + Fn SassCallback + Sign string + type ImportEntry struct + Parent string + Path string + Source string + SrcMap string + type SafeMap struct + func (s *SafeMap) Del(idx int) + func (s *SafeMap) Get(idx int) interface{} + func (s *SafeMap) Set(ie interface{}) *int + type SassCallback func(v interface{}, csv UnionSassValue, rsv *UnionSassValue) error + type SassCompiler *C.struct_Sass_Compiler + func SassMakeDataCompiler(godc SassDataContext) SassCompiler + func SassMakeFileCompiler(gofc SassFileContext) SassCompiler + type SassContext *C.struct_Sass_Context + func SassDataContextGetContext(godc SassDataContext) SassContext + func SassFileContextGetContext(gofc SassFileContext) SassContext + type SassDataContext *C.struct_Sass_Data_Context + func SassMakeDataContext(gos string) SassDataContext + type SassFileContext *C.struct_Sass_File_Context + func SassMakeFileContext(gos string) SassFileContext + type SassFunc C.Sass_Function_Entry + func SassMakeFunction(signature string, idx *int) SassFunc + type SassImportEntry C.Sass_Import_Entry + func SassMakeImport(path string, base string, source string, srcmap string) SassImportEntry + type SassImportList C.Sass_Import_List + type SassImporter *C.struct_Sass_Importer + func SassMakeImporter(fn SassImporterFN, priority int, v interface{}) (SassImporter, error) + type SassImporterFN C.Sass_Importer_Fn + func SassImporterGetFunction(goimp SassImporter) SassImporterFN + type SassImporterList C.Sass_Importer_List + func SassMakeImporterList(gol int) SassImporterList + type SassNumber struct + Unit string + Value float64 + func Number(usv UnionSassValue) SassNumber + func (n SassNumber) Float() float64 + func (n SassNumber) UnitOf() string + func (s SassNumber) String() string + func (sn SassNumber) Add(sn2 SassNumber) SassNumber + func (sn SassNumber) Divide(sn2 SassNumber) SassNumber + func (sn SassNumber) Multiply(sn2 SassNumber) SassNumber + func (sn SassNumber) Subtract(sn2 SassNumber) SassNumber + type SassOptions *C.struct_Sass_Options + func SassDataContextGetOptions(godc SassDataContext) SassOptions + func SassFileContextGetOptions(gofc SassFileContext) SassOptions + func SassMakeOptions() SassOptions + type UnionSassValue *C.union_Sass_Value + func CloneValue(usv UnionSassValue) UnionSassValue + func GoBridge(cargs UnionSassValue, cidx C.int) UnionSassValue + func Index(usv UnionSassValue, i int) UnionSassValue + func MakeBool(b bool) UnionSassValue + func MakeColor(c color.RGBA) UnionSassValue + func MakeError(s string) UnionSassValue + func MakeList(len int) UnionSassValue + func MakeMap(len int) UnionSassValue + func MakeNil() UnionSassValue + func MakeNumber(f float64, unit string) UnionSassValue + func MakeString(s string) UnionSassValue + func MakeWarning(s string) UnionSassValue + func MapKeys(m UnionSassValue) []UnionSassValue + func NewUnionSassValue() UnionSassValue