github.com/FenixAra/go@v0.0.0-20170127160404-96ea0918e670/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 // ../runtime/asm_$GOARCH.s