Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 20th, 2017
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
// app.go
session, _ := store.Get(req, "login")
_, has := session.Values["userID"] //value is set in app_test.go
// has == false for v1.9.62 onwards, has == true for 1.9.57 and earlier
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Lua | 14 sec ago | 2.22 KB
Practicality of life
R | 12 min ago | 9.94 KB
advanced_mega_registry_toggle
Python | 16 min ago | 8.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 19 min ago | 0.39 KB
Untitled
C++ | 1 hour ago | 0.40 KB
Elite:Dangerous: Titan-Bomber Script
Python | 1 hour ago | 6.10 KB
Kick Up Simulator Codes
JSON | 2 hours ago | 0.11 KB
Untitled
FreeBasic | 3 hours ago | 2.56 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!