Skip to content

Commit 0e1dff9

Browse files
authored
Merge pull request #127 from xushiwei/q
Go+ => XGo
2 parents 1ae5bbb + 620855f commit 0e1dff9

File tree

14 files changed

+23
-23
lines changed

14 files changed

+23
-23
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ If you are using it and would like to let us know, you can submit a [Pull Reques
1818
<div align="center">
1919
<p></p>
2020
<p>
21-
<a href="https://github.com/goplus/gop"><img width="80" src="https://goplus.org/favicon.svg"></a>
21+
<a href="https://github.com/goplus/gop"><img width="80" src="https://xgo.dev/favicon.svg"></a>
2222
</p>
23-
<h3>The Go+ Programming Language</h3>
23+
<h3>The XGo Programming Language</h3>
2424
</div>
2525

2626
</td>

gsh/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
gsh - An alternative to write shell scripts
22
======
33

4-
[![Language](https://img.shields.io/badge/language-Go+-blue.svg)](https://github.com/goplus/gop)
4+
[![Language](https://img.shields.io/badge/language-XGo-blue.svg)](https://github.com/goplus/gop)
55
[![GitHub release](https://img.shields.io/github/v/tag/goplus/gop.svg?label=Go%2b+release)](https://github.com/goplus/gop/releases)
66
[![Discord](https://img.shields.io/badge/Discord-online-success.svg?logo=discord&logoColor=white)](https://discord.gg/mYjWCJDcAr)
77
[![GoDoc](https://pkg.go.dev/badge/github.com/qiniu/x/gsh.svg)](https://pkg.go.dev/github.com/qiniu/x/gsh)
88

99
This is an alternative to write shell scripts.
1010

11-
Yes, now you can write `shell script` in Go+. It supports all shell commands.
11+
Yes, now you can write `shell script` in XGo. It supports all shell commands.
1212

1313

1414
## Usage
@@ -21,7 +21,7 @@ mkdir "testgsh"
2121

2222
You don't need a `go.mod` file, just enter `gop run ./example.gsh` directly to run.
2323

24-
It's strange to you that the file extension of Go+ source is not `.gop` but `.gsh`. It is only because Go+ register `.gsh` as a builtin [classfile](https://github.com/goplus/gop/blob/main/doc/classfile.md).
24+
It's strange to you that the file extension of XGo source is not `.xgo` but `.gsh`. It is only because XGo register `.gsh` as a builtin [classfile](https://github.com/goplus/gop/blob/main/doc/classfile.md).
2525

2626
We can change [example.gsh](demo/example/example.gsh) more complicated:
2727

@@ -72,7 +72,7 @@ or:
7272
exec "mkdir testgsh"
7373
```
7474

75-
If a shell command is a Go/Go+ language keyword (eg. `go`), or the command is a relative or absolute path, you can only execute it in the latter two ways:
75+
If a shell command is a Go/XGo language keyword (eg. `go`), or the command is a relative or absolute path, you can only execute it in the latter two ways:
7676

7777
```coffee
7878
exec "go", "version"
@@ -165,7 +165,7 @@ total 72
165165
-rw-r--r-- 1 xushiwei staff 1938 Jun 19 10:00 gop_autogen.go
166166
```
167167

168-
We can use [Go+ powerful built-in data processing capabilities](https://github.com/goplus/gop/blob/main/doc/docs.md#data-processing) to process captured `output`:
168+
We can use [XGo powerful built-in data processing capabilities](https://github.com/goplus/gop/blob/main/doc/docs.md#data-processing) to process captured `output`:
169169

170170
```coffee
171171
type file struct {

stringslice/stringslice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2025 The GoPlus Authors (goplus.org). All rights reserved.
2+
* Copyright (c) 2025 The XGo Authors (xgo.dev). All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test/_match_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
2+
* Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test/case.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
2+
* Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test/logt/logt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
2+
* Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test/match.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
2+
* Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
2+
* Copyright (c) 2024 The XGo Authors (xgo.dev). All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

gop/ng/_big.gop renamed to xgo/ng/_big.gop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2021 The GoPlus Authors (goplus.org)
2+
Copyright 2021 The XGo Authors (xgo.dev)
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at

gop/ng/big.go renamed to xgo/ng/big.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021 The GoPlus Authors (goplus.org). All rights reserved.
2+
* Copyright (c) 2021 The XGo Authors (xgo.dev). All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)