func moveToFront(item string, xs []string) {
	for i, x := range xs {
		if x != item {
			continue
		}
		if i == 0 {
			return
		}
		copy(xs[1:], xs[0:i])
		xs[0] = item
		return
	}
}
// moveToFront moves the given item (if present)
// to the front of the given slice.
moveToFront moves the given item (if present)
to the front of the given slice.
// moveToFront moves the given item ( if present ) // to the front of the given slice .
func moveToFront(item string, xs []string) {
	for i, x := range xs {
		if x != item {
			continue
		}
		if i == 0 {
			return
		}
		copy(xs[1:], xs[0:i])
		xs[0] = item
		return
	}
}
func moveToFront ( item string , xs [ ] string ) { for i , x := range xs { if x != item { continue } if i == 0 { return } copy ( xs [ 1 : ] , xs [ 0 : i ] ) xs [ 0 ] = item return } }
moveToFront moves the given item (if present)
to the front of the given slice.
moveToFront moves the given item ( if present ) to the front of the given slice .