Slide 1

Slide 1 text

΋͏Ұ౓
 ςετύλʔϯΛ੔ཧ͠Α͏ !NFSDBSJHP DPEFIFY

Slide 2

Slide 2 text

who.About(me)

Slide 3

Slide 3 text

!DPEFIFY !$PEF)FY w .FSDBSJ *OD w *MJLF1FSM94(P w )JQIPQ&OHJOFFS/FX w IUUQTDPEFIFYIBUFCMPKQ

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

ૉఢ

Slide 7

Slide 7 text

͓࿳ͼ

Slide 8

Slide 8 text

੔ཧ͗ͨ݁͢͠Ռ

Slide 9

Slide 9 text

෼Ͱ͸ऩ·Βͳ͔ͬͨͰ͢

Slide 10

Slide 10 text

ओޠ͕Ͱ͔͗͢·ͨ͠͝ΊΜͳ͍͞ ෼Ͱ͸ऩ·Βͳ͔ͬͨͰ͢

Slide 11

Slide 11 text

΋͏Ұ౓
 ςετύλʔϯΛ੔ཧ͠Α͏ !NFSDBSJHP DPEFIFY 8FC"QQฤ ϞοΫ͕ओ

Slide 12

Slide 12 text

ࠓ೔࿩͢಺༰

Slide 13

Slide 13 text

ࠓ೔࿩͢಺༰ʢ݉Ͷͯʣ w (Pʹ͓͚Δςετ࣮૷ύλʔϯ w ςετΛָ͢ΔͨΊͷઃܭ w JOUFSGBDFʹΑΔNPDL࣮૷

Slide 14

Slide 14 text

%#पΓʹ͍ͭͯ EBUBCBTFTRM

Slide 15

Slide 15 text

4FSWJDFͷߏ଄ମͷதʹ
 TRM%#Λ࣋ͨͤͯΔํ͍·ͤΜ͔ʁ

Slide 16

Slide 16 text

΋ͪΖΜͰ͕͢ɺ
 ͦΕͰ͸%#ؔ࿈ͷςετ͕
 ೉͘͠ͳΓ·͢

Slide 17

Slide 17 text

ͲΜͳJOUFSGBDFΛ
 ࣋ͨͤΔͱ͍͍Ͱ͠ΐ͏͔ʁ

Slide 18

Slide 18 text

ྫ͑͹%#

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

ྫ͑͹5Y

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

͜ΕΒΛ࣋ͬͨ
 JOUFSGBDF͕ཧ૝తͰ͢

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

͋ͱ͸ඞཁʹԠͯ͡
 ࣍ͷΑ͏ͳJOUFSGBDFΛ࡞੒

Slide 25

Slide 25 text

˞ඞཁʹԠͯ͡&YFDFSͳͲΛ֎͠·͠ΐ͏

Slide 26

Slide 26 text

JOUFSGBDFΛҾ਺ʹ࣋ͬͨ ؔ਺ͷ࡞੒

Slide 27

Slide 27 text

࡞੒ྫ

Slide 28

Slide 28 text

˞2VFSZ ͚ͩͳΒҾ਺͸
 2VFSZFSΛ౉͢͜ͱ΋ݕ౼Ͱ͖·͢

Slide 29

Slide 29 text

4FSWJDFߏ଄ମͷϨγʔό͔Β
 ݺͼग़࣌͢ͷ࣮૷

Slide 30

Slide 30 text

˞/PO5SBOTBDUJPODBTF

Slide 31

Slide 31 text

͓ͬͱɺ
 5SBOTBDUJPO$BTF͸ʁ

Slide 32

Slide 32 text

τϥϯβΫγϣϯ͕Ͱ͖Δͱ
 ൑அͰ͖ΔΑ͏ͳ
 JOUFSGBDFΛఆٛͯ͋͛͠Δ

Slide 33

Slide 33 text

5SBOTBDUJPOΛߦ͏ͨΊͷJOUFSGBDF

Slide 34

Slide 34 text

#FHJOOFSΛؚΊͨJOUFSGBDF

Slide 35

Slide 35 text

ECϑΟʔϧυΛ3VOOFSJOUFSGBDF΁

Slide 36

Slide 36 text

5SBOTBDUJPODBTF

Slide 37

Slide 37 text

%#ͷςετΛ͢ΔͨΊʹ
 ϞοΫΛ࡞੒͠·͢

Slide 38

Slide 38 text

͜͜·Ͱ࣮ߦ෦෼2VFSZ ͷΈ࢖ͬͯΔͨΊमਖ਼

Slide 39

Slide 39 text

ݱࡏͷ3VOOFSJOUFSGBDF͸࣮࣭͜Εͱಉ͡

Slide 40

Slide 40 text

͜ΕΒͷϝιουΛ࣋ͭߏ଄ମΛ༻ҙͯ͋͛͠Δ ˞ಈతʹSFUVSO͢Δ஋ΛมߋͰ͖Δػߏ΋࡞Γ·͠ΐ͏

Slide 41

Slide 41 text

͜ΕͰϞοΫ͕Ͱ͖ͨ

Slide 42

Slide 42 text

ͱࢥ͍·͔ͨ͠ʁ

Slide 43

Slide 43 text

͜͏͍͏TRM5YΛѻ͏έʔεͰςετ͕Ͱ͖·ͤΜʂ

Slide 44

Slide 44 text

ԿނͳΒTRM5Y͕ϞοΫԽ Ͱ͖ͳ͍͔Β

Slide 45

Slide 45 text

TRM5YΛϞοΫʹͰ͖ΔΑ ͏ʹमਖ਼͠·͠ΐ͏ʂ

Slide 46

Slide 46 text

·ͣ͸5YJOUFSGBDFΛ࡞੒

Slide 47

Slide 47 text

#FHJOOFSJOUFSGBDFΛ 5YJOUFSGBDFΛฦ͢Α͏ʹमਖ਼

Slide 48

Slide 48 text

5YJOUFSGBDFΛຬͨ͢ߏ଄ମΛఆٛ

Slide 49

Slide 49 text

͜͏͍͏͔Μ͡ͰίʔυΛॻ͚͹ %#पΓͰ΋.PDLΛ࢖ͬͨςετ͕ՄೳͰ͢

Slide 50

Slide 50 text

w TRM%#Λߏ଄ମͷதͰ࣋ͭͷ͸͍͍͕ɺ
 جຊతʹؔ਺ͷҾ਺ʹ౉͢Α͏ʹઃܭ͢Δ w ͦͷؔ਺Λϝιουͱͯ͠ϥοϓͯ͋͛͠Δͱྑ͍ w τϥϯβΫγϣϯΛؚΊΔ৔߹ɺ
 #FHJO ϝιουͷฦΓ஋͸TRM5YΛຬͨ͢
 JOUFSGBDFΛࢦఆͯ͋͛͠Δ w ͋ͱ͔Β঺հ͢ΔϞοΫٕ๏Ͱ΋ͬͱྑ͍ײ͡ʹͳ Γ·͢

Slide 51

Slide 51 text

4FSWJDFͷ'VODUJPOBMUFTU ͱॊೈʹૢ࡞ՄೳͳϞοΫΛ࡞Δ

Slide 52

Slide 52 text

'VODUJPOBM

Slide 53

Slide 53 text

w 6OJUUFTUʢ୯ମςετʣ w ୯Ұͷؔ਺΍ϝιουͳͲΛςετ w 'VODUJPOBMUFTUʢػೳςετʣ w ϦΫΤετ͔ΒϨεϙϯε·Ͱͷςετ

Slide 54

Slide 54 text

w 6OJUUFTUʢ୯ମςετʣ w ୯Ұͷؔ਺΍ϝιουͳͲΛςετ w 'VODUJPOBMUFTUʢػೳςετʣ w ϦΫΤετ͔ΒϨεϙϯε·Ͱͷςετ

Slide 55

Slide 55 text

Ͳ͏͍͏ײ͡Ͱ
 ΍ͬͯΔ͔ͱ͍͏ͱ

Slide 56

Slide 56 text

ςετΛߦ͍͍֤ͨΤϯυϙΠϯτͷొ࿥

Slide 57

Slide 57 text

ςετͷͨΊͷ൚༻ߏ଄ମΛฦ͢

Slide 58

Slide 58 text

• TestGet ΍ TestEcho ͳͲͷ୯ମςετͱ
 ࠞ߹ͤ͞ͳ͍ͨΊʹҰՕॴʹ·ͱΊͯॻ͘ • funcsεϥΠεʹfunc(*testing.T)Λ࣋ͨͤΔ • for rangeͰ̍ͭͣͭ
 ΤϯυϙΠϯτͷ'VODUJPOBMUFTUΛߦ͍ͬͯ͘ w ֤ΤϯυϙΠϯτςετͷલޙʹॲཧΛ૸ΒͤΔ͜ ͱ͕Մೳʢ4FUVQ5FBSEPXOʣ

Slide 59

Slide 59 text

ͦͯ͠testGet(u)ͩͱ

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

w ΤϯυϙΠϯτ͝ͱͰඞཁʹԠͯ͡
 ϞοΫΛ࢓ࠐΜͩαʔόʔͷίϯετϥΫτΛߦ͏ w ΤϯυϙΠϯτ͝ͱͰେ·͔ͳϞοΫͷॲཧΛม ߋͰ͖Δ w ςετॱΛγϟοϑϧͰ͖Δ w ֤ςετͷલޙʹॲཧΛ૸ΒͤΔ͜ͱ͕Մೳ
 ʢ4FUVQ5FBSEPXOʣ

Slide 62

Slide 62 text

࣮ࡍʹϞοΫΛ࡞੒͢Δ෦෼

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

ςετΛॻ͖͍ͨ΋ͷΛ
 ໭ͬͯ֬ೝ͠·͢

Slide 65

Slide 65 text

ࠓճ͸͜Ε

Slide 66

Slide 66 text

testGetWithFailedAuth Λ
 ࡞੒͠·͢

Slide 67

Slide 67 text

ೝূͰࣦഊ͍ͤͨ͞ͷͰ
 "VUI4FSWJDFͷϞοΫ͔Β

Slide 68

Slide 68 text

No content

Slide 69

Slide 69 text

͜ͷϞοΫΛ࢖ͬͨ
 testGetWithFailedAuth

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

w Ұ࣌ม਺ʹϞοΫΛॳظԽͨ͠΋ͷʢϙΠϯλʣΛ ౉ͯͦ͠ΕΛ4FSWFSߏ଄ମͷϑΟʔϧυʹ࣋ͨͤ Δ w ͜͏͢Δͱม਺ܦ༝ͰϞοΫͷத਎ΛมߋͰ͖Δͷ Ͱؾָ

Slide 72

Slide 72 text

͜ͷϞοΫٕ๏࠷ڧ

Slide 73

Slide 73 text

ࢥ͍͍ͭͨΦϨշௐ ʢ࣮͸ͪΌΜͱӆΛ౿ΜͰ͍·͢ʣ

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

ͳͷͰ4FFBMTP IUUQIBZBCVTBDPNHPMBOHIPXUPXSJUFNPDLPGJOUFSGBDFGPSUFTUJOH

Slide 76

Slide 76 text

͔͠͠

Slide 77

Slide 77 text

6TFS4FSWJDFͷ৔߹ͳͲ

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

JOUFSGBDFʹൺྫͯ͠
 ୔ࢁॻ͔ͳ͚Ε͹͍͚ͳ͍

Slide 80

Slide 80 text

ͦ͜Ͱ͜ͷπʔϧ IUUQTHJUIVCDPN$PEF)FYGVODZNPDL $ funcygen interface.go

Slide 81

Slide 81 text

Կճ΋ॻ͘ͷ͸໘౗ͳͷͰ
 ָͰ͖ΔՕॴ͸ָ͠·͠ΐ͏

Slide 82

Slide 82 text

·ͱΊ w ઃܭஈ֊ͰͲ͏ϞοΫΛૠೖ͠΍͘͢͢Δ͔
 ૝ఆͯ͠ઃܭ͢ΔͱΈΜͳ޾ͤ w ࠓճ͸%#ͱΞϓϦέʔγϣϯͷϞοΫʹؔͯ͠ ॻ͖·ͨ͠ w ָͰ͖Δͱ͜Ζ͸ָ͍ͨ͠