2022-11-27 07:14:36PM

This commit is contained in:
Alexander Wang 2022-11-27 19:14:36 -08:00
parent 5a7c75f6c1
commit a5029859ba
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,5 @@
//go:build cgo
package d2latex
import (

View file

@ -0,0 +1,13 @@
//go:build !cgo
package d2latex
import "errors"
func Render(s string) (string, error) {
return "", errors.New("not found in build")
}
func Measure(s string) (width, height int, _ error) {
return 0, 0, errors.New("not found in build")
}