all repos — vite @ 1e6bde1d6ac06b0921c56a935ddeaa4c8775e055

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

utils.go (view raw)

 1package main
 2
 3import (
 4	"fmt"
 5	"os"
 6	"strings"
 7)
 8
 9func printMsg(s ...string) {
10	fmt.Println("vite:", strings.Join(s, " "))
11}
12
13func printErr(e error) {
14	fmt.Fprintln(os.Stderr, "error:", e)
15}