all repos — vite @ c720289599cf73858c8150484d1b3fdafcaa5595

a fast (this time, actually) and minimal static site generator

utils.go (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
package main

import (
	"fmt"
	"os"
	"strings"
)

func printMsg(s ...string) {
	fmt.Println("vite:", strings.Join(s, " "))
}

func printErr(e error) {
	fmt.Fprintln(os.Stderr, "error:", e)
}