add update method #5

Merged
lqhoang99 merged 2 commits from feature/updateMethod into master 2021-11-08 02:56:29 +00:00
lqhoang99 commented 2021-11-08 01:52:33 +00:00 (Migrated from github.com)
No description provided.
namhq1989 (Migrated from github.com) reviewed 2021-11-08 01:58:34 +00:00
namhq1989 (Migrated from github.com) commented 2021-11-08 01:58:34 +00:00

cái này phải lấy từ userAgent chớ sao so sánh như vậy được

cái này phải lấy từ userAgent chớ sao so sánh như vậy được
namhq1989 (Migrated from github.com) reviewed 2021-11-08 02:01:18 +00:00
namhq1989 (Migrated from github.com) commented 2021-11-08 02:01:17 +00:00

mấy cái này nên viết 1 func trả về name, version, isMobile rồi dùng thôi

osName, osVersion, isMobile := getUserAgentData(ua)
mấy cái này nên viết 1 func trả về `name, version, isMobile` rồi dùng thôi ```go osName, osVersion, isMobile := getUserAgentData(ua) ```
lqhoang99 (Migrated from github.com) reviewed 2021-11-08 02:46:43 +00:00
lqhoang99 (Migrated from github.com) commented 2021-11-08 02:46:43 +00:00

done

done
lqhoang99 (Migrated from github.com) reviewed 2021-11-08 02:46:49 +00:00
lqhoang99 (Migrated from github.com) commented 2021-11-08 02:46:49 +00:00

done

done
Sign in to join this conversation.
No description provided.