16 lines
326 B
Go
16 lines
326 B
Go
// +build !assets
|
|
|
|
package http
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// The functions defined in this file are placeholders when the binary is compiled
|
|
// without assets.
|
|
|
|
// Asset returns an error stating no assets were included in the binary.
|
|
func Asset(string) ([]byte, error) {
|
|
return nil, errors.New("no assets included in binary")
|
|
}
|