hugo: github.com/gohugoio/hugo/common/math Index | Files

package math

import "github.com/gohugoio/hugo/common/math"

Index

Package Files

math.go

func DoArithmetic Uses

func DoArithmetic(a, b interface{}, op rune) (interface{}, error)

DoArithmetic performs arithmetic operations (+,-,*,/) using reflection to determine the type of the two terms.

Package math imports 2 packages (graph) and is imported by 21 packages. Updated 2019-08-20. Refresh now. Tools for package owners.