Fix go packaging

This commit is contained in:
Evan Su 2021-06-03 15:18:24 -04:00
parent 93b7f00827
commit e37bac0138
36 changed files with 36 additions and 36 deletions

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"errors" "errors"

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
// Registry predefined keys // Registry predefined keys
const ( const (

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"testing" "testing"

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa374931(v=vs.85).aspx // http://msdn.microsoft.com/en-us/library/windows/desktop/aa374931(v=vs.85).aspx
type ACL struct { type ACL struct {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
const ( const (
ALPC_PORFLG_ALLOW_LPC_REQUESTS = 0x20000 ALPC_PORFLG_ALLOW_LPC_REQUESTS = 0x20000

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"testing" "testing"

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"errors" "errors"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
const ( const (
FALSE = 0 FALSE = 0

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
const ( const (
WAIT_ABANDONED = 0x00000080 WAIT_ABANDONED = 0x00000080

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"testing" "testing"

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
// typedef struct _PROCESS_INFORMATION { // typedef struct _PROCESS_INFORMATION {
// HANDLE hProcess; // HANDLE hProcess;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"fmt" "fmt"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
// #include <stdlib.h> // #include <stdlib.h>
//import ( //import (

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
const ( const (
RTL_CLONE_PROCESS_FLAGS_CREATE_SUSPENDED = 0x00000001 RTL_CLONE_PROCESS_FLAGS_CREATE_SUSPENDED = 0x00000001

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
// combase!_SECTION_IMAGE_INFORMATION // combase!_SECTION_IMAGE_INFORMATION
// +0x000 TransferAddress : Ptr64 Void // +0x000 TransferAddress : Ptr64 Void

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"errors" "errors"

View File

@ -1,3 +1,3 @@
module github.com/HACKERALERT/Picocrypt/src/external/w32 module w32
go 1.16 go 1.16

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"unsafe" "unsafe"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"unsafe" "unsafe"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
type pIUnknownVtbl struct { type pIUnknownVtbl struct {
pQueryInterface uintptr pQueryInterface uintptr

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"errors" "errors"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"unsafe" "unsafe"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"fmt" "fmt"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
import ( import (
"syscall" "syscall"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package w32 package github.com/HACKERALERT/Picocrypt/src/external/w32
var ( var (
IID_NULL = &GUID{0x00000000, 0x0000, 0x0000, [8]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}} IID_NULL = &GUID{0x00000000, 0x0000, 0x0000, [8]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}