Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2abda095
authored
2013-11-06 16:51:33 +0800
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix #277
1 parent
dbf6ca2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
testing/client.go
testing/client.go
View file @
2abda09
package
testing
import
(
"github.com/astaxie/beego"
"github.com/astaxie/beego
/config
"
"github.com/astaxie/beego/httplib"
)
...
...
@@ -14,7 +14,7 @@ type TestHttpRequest struct {
func
getPort
()
string
{
if
port
==
""
{
config
,
err
:=
beego
.
ParseConfig
(
"../conf/app.conf"
)
config
,
err
:=
config
.
NewConfig
(
"ini"
,
"../conf/app.conf"
)
if
err
!=
nil
{
return
"8080"
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment