github.com/hikaru7719/go@v0.0.0-20181025140707-c8b2ac68906a/src/strings/strings_decl.go (about) 1 // Copyright 2013 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package strings 6 7 // IndexByte returns the index of the first instance of c in s, or -1 if c is not present in s. 8 func IndexByte(s string, c byte) int // in internal/bytealg