func IndexOf(list []string, el string) int {
	for i, x := range list {
		if el == x {
			return i
		}
	}
	return -1
}
IndexOf returns the index of el in list, or -1 if it's not found.
package util
import (
	"crypto/tls"
	"fmt"
	"net/http"
	"github.com/appc/spec/pkg/acirenderer"
)
func Quote(l []string) []string {
	var quoted []string
	for _, s := range l {
		quoted = append(quoted, fmt.Sprintf("%q", s))
	}
	return quoted
}
func ReverseImages(s acirenderer.Images) acirenderer.Images {
	var o acirenderer.Images
	for i := len(s) - 1; i >= 0; i-- {
		o = append(o, s[i])
	}
	return o
}
func In(list []string, el string) bool {
	return IndexOf(list, el) != -1
}