forked from go/golangs_learn
viviman
3 years ago
27 changed files with 78 additions and 116 deletions
@ -0,0 +1 @@ |
|||
增加版本控制 |
@ -1,15 +0,0 @@ |
|||
package main |
|||
|
|||
import ( |
|||
"fmt" |
|||
"github.com/braintree/manners" |
|||
"net/http" |
|||
) |
|||
|
|||
func main() { |
|||
err := manners.ListenAndServe(":54022", http.DefaultServeMux) |
|||
if err == nil { |
|||
fmt.Println("哼") |
|||
} |
|||
fmt.Println("哈哈") |
|||
} |
@ -1,15 +1,13 @@ |
|||
package main |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
import ( |
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
package main |
|||
|
|||
func main() { |
|||
var inTE1, inTE2, outTE *walk.TextEdit |
|||
MainWindow{ |
|||
Title: "码表转换生成器", |
|||
Icon: "src/data_func/go_to_walk/demo01/img/rc.ico", |
|||
Icon: "src/data_func/go_to_walk/demo01/img/rc.ico", |
|||
MinSize: Size{600, 400}, |
|||
Layout: VBox{}, |
|||
Children: []Widget{ |
@ -1,9 +1,10 @@ |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"fmt" |
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
"strings" |
|||
) |
|||
|
@ -1,9 +1,7 @@ |
|||
package main |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
import ( |
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
package main |
|||
|
|||
import ( |
|||
"fmt" |
@ -1,9 +1,7 @@ |
|||
package main |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
import ( |
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
package main |
|||
|
|||
// 失败了!
|
|||
|
@ -1,12 +1,12 @@ |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"fmt" |
|||
"log" |
|||
"strings" |
|||
|
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
|
|||
// 失败了!
|
@ -1,11 +1,11 @@ |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"fmt" |
|||
"sort" |
|||
|
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
|
|||
type Condom struct { |
@ -1,10 +1,10 @@ |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"strings" |
|||
|
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
|
|||
func main() { |
@ -1,14 +1,10 @@ |
|||
// Copyright 2016 The Walk Authors. All rights reserved.
|
|||
// Use of this source code is governed by a BSD-style
|
|||
// license that can be found in the LICENSE file.
|
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"log" |
|||
|
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
|
|||
func main() { |
@ -1,14 +1,10 @@ |
|||
// Copyright 2010 The Walk Authors. All rights reserved.
|
|||
// Use of this source code is governed by a BSD-style
|
|||
// license that can be found in the LICENSE file.
|
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"strings" |
|||
|
|||
"github.com/lxn/walk" |
|||
. "github.com/lxn/walk/declarative" |
|||
) |
|||
|
|||
func main() { |
@ -1,6 +1,5 @@ |
|||
// Copyright 2011 The Walk Authors. All rights reserved.
|
|||
// Use of this source code is governed by a BSD-style
|
|||
// license that can be found in the LICENSE file.
|
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
@ -1,3 +1,6 @@ |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
@ -1,11 +1,9 @@ |
|||
// Copyright 2011 The Walk Authors. All rights reserved.
|
|||
// Use of this source code is governed by a BSD-style
|
|||
// license that can be found in the LICENSE file.
|
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"github.com/lxn/walk" |
|||
"log" |
|||
) |
|||
|
@ -1,7 +1,9 @@ |
|||
//go:build windows
|
|||
// +build windows
|
|||
|
|||
package main |
|||
|
|||
import ( |
|||
"github.com/lxn/walk" |
|||
"log" |
|||
) |
|||
|
Loading…
Reference in new issue