Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beego
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
beego
Commits
6f3803ce
Commit
6f3803ce
authored
Dec 24, 2013
by
傅小黑
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'astaxie/master'
parents
a1f6039d
d0e2c5c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
beego.go
beego.go
+1
-1
ini.go
config/ini.go
+3
-0
No files found.
beego.go
View file @
6f3803ce
...
...
@@ -11,7 +11,7 @@ import (
)
// beego web framework version.
const
VERSION
=
"1.0.
0
"
const
VERSION
=
"1.0.
1
"
// Router adds a patterned controller handler to BeeApp.
// it's an alias method of App.Router.
...
...
config/ini.go
View file @
6f3803ce
...
...
@@ -166,6 +166,9 @@ func (c *IniConfigContainer) Set(key, value string) error {
section
=
DEFAULT_SECTION
k
=
sectionkey
[
0
]
}
if
_
,
ok
:=
c
.
data
[
section
];
!
ok
{
c
.
data
[
section
]
=
make
(
map
[
string
]
string
)
}
c
.
data
[
section
][
k
]
=
value
return
nil
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment