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
4ecb9cc3
authored
2013-08-06 16:13:45 +0800
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
move httplib from beego to beego/httplib safemap support get all items
1 parent
64ef8ad6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
httplib.go → httplib/httplib.go
httplib_test.go → httplib/httplib_test.go
safemap.go
httplib.go
→
httplib
/httplib
.go
View file @
4ecb9cc
package
beego
package
httplib
import
(
"bytes"
...
...
httplib_test.go
→
httplib
/httplib
_test.go
View file @
4ecb9cc
package
beego
package
httplib
import
(
"io/ioutil"
...
...
safemap.go
View file @
4ecb9cc
...
...
@@ -56,3 +56,9 @@ func (m *BeeMap) Delete(k interface{}) {
defer
m
.
lock
.
Unlock
()
delete
(
m
.
bm
,
k
)
}
func
(
m
*
BeeMap
)
Items
()
map
[
interface
{}]
interface
{}
{
m
.
lock
.
RLock
()
defer
m
.
lock
.
RUnlock
()
return
m
.
bm
}
...
...
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