Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../lib/golang/src/runtime/race
File: mkcgo.sh
#!/bin/bash
[0] Fix | Delete
[1] Fix | Delete
hdr='
[2] Fix | Delete
// Copyright 2022 The Go Authors. All rights reserved.
[3] Fix | Delete
// Use of this source code is governed by a BSD-style
[4] Fix | Delete
// license that can be found in the LICENSE file.
[5] Fix | Delete
[6] Fix | Delete
// Code generated by mkcgo.sh. DO NOT EDIT.
[7] Fix | Delete
[8] Fix | Delete
//go:build race
[9] Fix | Delete
[10] Fix | Delete
'
[11] Fix | Delete
[12] Fix | Delete
convert() {
[13] Fix | Delete
(echo "$hdr"; go tool cgo -dynpackage race -dynimport $1) | gofmt
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
convert race_darwin_arm64.syso >race_darwin_arm64.go
[17] Fix | Delete
convert internal/amd64v1/race_darwin.syso >race_darwin_amd64.go
[18] Fix | Delete
[19] Fix | Delete
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function