Source file src/cmd/compile/internal/logopt/escape.go

     1  // Copyright 2019 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  //go:build go1.8
     6  // +build go1.8
     7  
     8  package logopt
     9  
    10  import "net/url"
    11  
    12  func pathEscape(s string) string {
    13  	return url.PathEscape(s)
    14  }
    15  

View as plain text