romabilka / parcel-tracking Goto Github PK
View Code? Open in Web Editor NEWOpen source program developed to simplify parcel tracking.
License: MIT License
Open source program developed to simplify parcel tracking.
License: MIT License
Create standard error "Invalid track number" for providers.
Show "invalid track number" or "expired track number" errors to the user.
Use zap-logger https://github.com/uber-go/zap
В папочці де провайдер додати Readme з всьою можливою корисною інфою
Track ID: [20700162510099, 20700362664967]
Example Request: /tracking?track_id=20700162510099
REST server responds with an error for specific Track IDs (mentioned above).
20700162510099 Response:
{"message":"json: cannot unmarshal string into Go struct field TrackingDocumentResponse.data.SumBeforeCheckWeight of type float64"}
20700362664967 Response:
{"message":"json: cannot unmarshal string into Go struct field TrackingDocumentResponse.data.DocumentWeight of type float64"}
20700162510099 std output:
{"level":"warn","ts":,"caller":"midllewares/logging.go:66","msg":"json: cannot unmarshal string into Go struct field TrackingDocumentResponse.data.SumBeforeCheckWeight of type float64","statusCode":400,"duration":0.297251885}
20700362664967 std output:
{"level":"warn","ts":1659700339.8448262,"caller":"midllewares/logging.go:66","msg":"json: cannot unmarshal string into Go struct field TrackingDocumentResponse.data.DocumentWeight of type float64","statusCode":400,"duration":0.445272862}```
Дослідити, як працюють логи на лямбді і запропонувати рішення
Пр може бути змержений коли:
Хоча б один апрув
Прикріплена таска до ПРу +-
Ну і не можна пушити в мастер.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.